Optional Info button for projects that need a link to project info #350 by jtroberts · Pull Request #351 · NASA-AMMOS/MMGIS · GitHub
Skip to content

Optional Info button for projects that need a link to project info #350#351

Merged
jtroberts merged 2 commits into
developmentfrom
jr-350
Mar 13, 2023
Merged

Optional Info button for projects that need a link to project info #350#351
jtroberts merged 2 commits into
developmentfrom
jr-350

Conversation

@jtroberts

Copy link
Copy Markdown
Member

Purpose

Optional Info button for projects that desire a link to general project info #350

Proposed Changes

  • [ADD] Info button

Issues

Testing

  • Tested adding Info URL to config page and button appears on sidebar with correct link
  • Tested removing Info URL and button is hidden from sidebar

@jtroberts jtroberts requested a review from tariqksoliman March 7, 2023 19:41

@tariqksoliman tariqksoliman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice and LGTM!

Some minor and optional thoughts if you want:

  • Hide the i and ? icons if a url is not configured
  • Default the info to be off in the configuration (when it's unset)
  • Use a solid circle information icon (because the info tool already uses the same i icon)

- Hide info and help icons if a url is not configured
- Default the info button to be off in the configuration
- Change to info icon with a circle
@jtroberts jtroberts merged commit 2e3450f into development Mar 13, 2023
@jtroberts jtroberts deleted the jr-350 branch March 13, 2023 22:27
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.

2 participants