Page MenuHomePhabricator

Deal with displaying basic/music cards
Open, Needs TriagePublic

Description

I created a new folder in cards/music

I kept the same IDs, so in the UI just need to do like /card/{{game}}/34_23.png

Need to:

  • Figure out how to switch between basic music, links at the top
  • Pick default for logged out users
  • Let logged in users set a default

Event Timeline

ceec created this task.Apr 15 2020, 12:51 AM
ceec added a comment.Apr 24 2020, 11:57 PM

You can get the unbloomed images from the scout UI. I got all the 5 stars and named to match the basic counterparts.

They are in the cards/music/ folder with the same filename.

ceec moved this task from Backlog to Doing on the enstars.info board.Apr 30 2020, 9:36 PM
ceec added a comment.May 4 2020, 1:00 AM

okay so made cardstat table, and UI to pull from it two different images folders

next steps: split out events between games properly, right now both urls go to basic
test editing cards
whoops and I had broken all old cards, test older cards too when making changes

edit the add card UI as cardstats would be separate, or just remove skills and just have common things?

ceec added a comment.May 6 2020, 1:49 AM

Removed lesson skills and type (color) from create new card.

Did a mass db update to change any cards with lesson/dorifes ids of 0 to 74/75 for unknown.

On the edit card page separated out the card info into its own form and created a new one for stats.

Unrelated well tangent but fixed the bug where going to a classic card/music was causing an error.

next steps: switch the type_id to a lookup table with the four colors