Invite-only sign-up, present mode, series, handouts, templates, dictation, progress, sharing
Build and Push Docker Image / build-and-push (push) Successful in 6m47s
Build and Push Docker Image / build-and-push (push) Successful in 6m47s
- Admin: sign-up Open / Invite only / Closed with single-use invite links - Present mode for scripts (auto-scroll) and outlines (step through, pace vs planned minutes) - Series: group studies on the dashboard, filter by series, calendar file for a study's sessions - Lesson handout: printable page per session (passage, outline, questions, writing lines) - Save a chunk's notes as your own study template (synced) - Voice dictation for notes and scripts (browser speech recognition) - Reading progress: map of the 66 books and a calendar of days read, synced and merged across devices - Export highlights and bookmarks as Markdown or Word, grouped by named colour - Verse of the day push to the ntfy topic (needs IQBIBLE_API_KEY) - Sharing: co-teacher editing via single-use invite links; read-only links can expire and take a passcode Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
88bc59bac0
commit
54cb1c217d
73 files changed
+2739
-134
No files matched your search
@@ -66,6 +66,22 @@ describe('Home page', () => {
|
||||
expect(titles()).toHaveLength(3);
|
||||
});
|
||||
|
||||
test('a study can be put in a series; the dashboard groups by series and can show just one', async () => {
|
||||
seedProject({ id: 'p1', title: 'Titus Notes' });
|
||||
seedProject({ id: 'p2', title: 'New Birth' });
|
||||
const user = userEvent.setup();
|
||||
await renderApp();
|
||||
const card = (title) => screen.getByRole('heading', { name: title }).closest('div.rounded-2xl');
|
||||
await user.click(within(card('Titus Notes')).getByRole('button', { name: /add to series/i }));
|
||||
await user.type(screen.getByLabelText('Series name'), 'Pastoral letters{Enter}');
|
||||
expect(await screen.findByRole('heading', { level: 3, name: /Pastoral letters/ })).toBeInTheDocument();
|
||||
expect(screen.getByRole('heading', { level: 3, name: /Not in a series/ })).toBeInTheDocument();
|
||||
expect(JSON.parse(localStorage.getItem('bible-study-project-p1')).series).toBe('Pastoral letters');
|
||||
await user.selectOptions(screen.getByLabelText(/^Series/), 'Pastoral letters');
|
||||
expect(screen.queryByRole('heading', { name: 'New Birth' })).toBeNull();
|
||||
expect(screen.getByRole('heading', { name: 'Titus Notes' })).toBeInTheDocument();
|
||||
});
|
||||
|
||||
test('studies can be shown as a grid or a list, and the choice is remembered', async () => {
|
||||
seedProject();
|
||||
seedProject({ id: 'p2', title: 'Second Study' });
|
||||
|
||||
Reference in new issue
Block a user