-
Notifications
You must be signed in to change notification settings - Fork 378
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
feat: Agenda URL #hash scrolls to 'now' or specific day #7772
feat: Agenda URL #hash scrolls to 'now' or specific day #7772
Conversation
251fb76
to
a852d9e
Compare
@@ -206,8 +206,6 @@ function scrollToDay (dayId, ev) { | |||
} | |||
|
|||
function scrollToNow (ev) { | |||
ev.preventDefault() |
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.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7772 +/- ##
==========================================
+ Coverage 88.78% 88.79% +0.01%
==========================================
Files 296 303 +7
Lines 41320 41422 +102
==========================================
+ Hits 36687 36782 +95
- Misses 4633 4640 +7 ☔ View full report in Codecov by Sentry. |
…ker into feat/agenda-scroll-to-now
This is looking good on desktop, but on screens the size of an iphone 11, its not acting as intended. With the dev code uncommented, looking in this view, the now link doesn't change what's in the url bar, and pasting http://localhost:8000/meeting/agenda/#now into a blank tab doesn't cause the viewport to move to the red line. |
@rjsparks the functionality should work now. I still need to fix the tests. |
@rjsparks fixed. ready for review |
…ings panel for debugging
Fixes #7245
Allows scrolling to either
#now
or#agenda-day-YYYY-MM-DD
on page load.Adds a developer-only utility to modify server agenda dates to be the same as local browser time, so that the 'Now' button is available.