-
Notifications
You must be signed in to change notification settings - Fork 16
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
Rethink Atlas layout and components #457
Conversation
steveoh
commented
Jul 25, 2024
- Use design system components
- Remove bootstrap css
Visit the preview URL for this PR (updated for commit fbd5bdd): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking nice!
A few things:
- layer selector background is transparent
- the map doesn't seem to be zooming on geocode or sherlock match
- did you mean to round the map corners more in dark mode?
@@ -1,18 +1,19 @@ | |||
{ | |||
"name": "@ugrc/atlas", | |||
"version": "5.4.14", | |||
"version": "5.4.13", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"version": "5.4.13", | |
"version": "5.4.14", |
Did you mean to do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was maybe a rebase from main since the next version is .15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can these fonts be loaded via google fonts to simplify our project tree?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i like the idea of supporting both ways
import { BootstrapDartboard as FindAddress } from '@ugrc/dart-board'; | ||
import Sherlock, { WebApiProvider } from '@ugrc/sherlock'; | ||
import { | ||
Drawer, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this component be moved into Atlas since it's dependent on the app structure?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm not sure yet.
// mapComponent.current = new EsriMap(); | ||
|
||
mapComponent.current = new WebMap({ | ||
portalItem: { | ||
id: '80c26c2104694bbab7408a4db4ed3382', | ||
}, | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is pointing to the UIC web map. We either need to create one specific to Atlas or build a map with the API directly. I'm not sure what advantage there is to creating a web map for atlas since it wouldn't have any layers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is a remnant of a race condition in layer selector.
Sorry, I didn't think the draft pr was trying to de deployed and this wasn't ready for a review. I wanted to share the layout with you and others who can't run it locally. But thank you for taking a look at it!
|
this requires linking @ugrc/utah-design-system
closing in favor of dev so deploy previews work. |