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

add new location widget #2555

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

add new location widget #2555

wants to merge 2 commits into from

Conversation

CollinBeczak
Copy link
Collaborator

Resolves: #2426

Screenshot 2025-02-14 at 6 15 25 PM

@CollinBeczak CollinBeczak marked this pull request as ready for review February 17, 2025 16:01
Copy link
Contributor

@jake-low jake-low left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! LGTM except for the notes I left about default sizing

Comment on lines 13 to 16
minWidth: 4,
defaultWidth: 4,
minHeight: 4,
defaultHeight: 4,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these can be tweaked:

  • minWidth should be 2
  • minHeight should be 2 (this cuts off the Lon/Lat display but some people may not need that visible)
  • defaultHeight should be 3

I also think you should change TaskPane.jsx line 60 so that this widget's height in the default layout is 3

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took a slightly different approach, apparently i had some variable names off, so the wrong widget was being displayed. I ended up changing the values in the location widget like you suggested, but i opted for increasing the height of the task map instead to match the height of the other widgets in the default layout.

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

Successfully merging this pull request may close these issues.

Make location of task more prominent in the UI
2 participants