diff --git a/app/javascript/app.router.js b/app/javascript/app.router.js index 6fa75824b..51c44b9e9 100644 --- a/app/javascript/app.router.js +++ b/app/javascript/app.router.js @@ -98,6 +98,17 @@ Vue.use(VueRouter); var con_roles=[], isAdmin=false, hasPowers=false; export const router = new VueRouter({ + scrollBehavior(to) { + console.log(to) + if (to.hash) { + setTimeout(() => { + const element = document.getElementById(to.hash.replace(/#/, '')) + if (element && element.scrollIntoView) { + element.scrollIntoView({block: 'start'}) + } + }, 10) + } + }, routes: [ { path: '/login', diff --git a/app/javascript/reports/reports_screen.vue b/app/javascript/reports/reports_screen.vue index 669d09a9d..3a2242688 100644 --- a/app/javascript/reports/reports_screen.vue +++ b/app/javascript/reports/reports_screen.vue @@ -2,11 +2,11 @@
These are interim reports.
- Description: Session information for daily grid, one line per session
- Fields: Session title, area(s) of session, session format, session start time, session duration, session room
- Session data included: all scheduled sessions that are visible and published
-
@@ -289,7 +281,7 @@ Schedule by Participant
Description: Schedule for each participant, one line per person and session
- Fields: Person name, publishes name, participant status, session title, area(s) of session, session start time, room, moderator (y/n), invisible participant (y/n)
+ Fields: Person name, published name, participant status, session title, area(s) of session, session start time, room, moderator (y/n), invisible participant (y/n)
Person data included: moderators, participants, invisible participants
+ Description: Session information for daily grid, one line per session
+ Fields: Session title, area(s) of session, session format, session start time, session duration, session room
+ Session data included: all scheduled sessions that are visible and published
+