-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
enhancementNew feature or requestNew feature or request
Description
This new feature suggestion has originated from when I was wanting to adjust the elevation of a specific roundhouse (in a circle), from the list of industries it is not too easy to identify which one to change.
So, I had a little play, added a new edit mode and 'Edit' button (next to the 'Delete').
When the edit mode is enabled, if an industry is clicked then the edit dialog is displayed with the industry data.
These are the same fields that appear on the list and can be used in the way.
Click on 'Close' or hit ESC to close the dialog,
Prototype code can be found on my fork at https://github.com/GameyCamper/railroad.studio/tree/industryEditDialog.
Code cleanup and missing features;
- Populating the fields in the dialog body has resulted in a lot of cut and paste - A CPD would go nuts!
- Highlight the industry being viewed/edited.
- Better integration with bootstrap, ATM the dialog is show/hidden using css, really should use the bootstrap APIs.
- If any of the industry location data is changed then update the position on the map after the dialog is closed,
- Probably pretty useful for frames too, and props.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request