Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide empty fields on Mission page #3

Open
SiriusTR opened this issue Apr 14, 2021 · 4 comments
Open

Hide empty fields on Mission page #3

SiriusTR opened this issue Apr 14, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@SiriusTR
Copy link

Most missions, at least at first, will not have "Version", "Players" or "Number of levels" filled out. There are a couple options I can think of that would look better:

  1. Hide fields that have no data
  2. Show a placeholder value, e.g. "Unknown" or "No data"
@ghost
Copy link

ghost commented Apr 14, 2021

IIRC, none of these fields cannot actually be left empty by the uploader (leaving them empty is only possible by manually editing the DB), but I would need to check whether that is the case.

@ghost
Copy link

ghost commented Apr 14, 2021

This is the "upload mission" page for reference; the version field has a default value 1.0 and the level/player count are number inputs which cannot be left empty.
image

@SiriusTR
Copy link
Author

So, we might be better off figuring out how to fill in these fields for imported levels than leaving them off the page.

@ghost ghost added the enhancement New feature or request label Apr 14, 2021
@ziplantil
Copy link
Owner

Pretty much exactly three years later: I do not think there is any way to get that for imported levels without the DMDB data or manually adding it to each mission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants