Add status tab to options page

Repository details (talkie)
Project page
talkie
Project log category
(708 entries)
Repository
@joelpurra/talkie
Owner
@joelpurra
Contributors
Contributors on Github
Project status
⏲️ This project has had recent commits.
📂 This project is open.
🌠 This project is popular.
Repository activity period
🗓
Commits
751 commits
Stars
72 stars
Commit details (eb2ae165)
Author
Authored at
Committer
Joel Purra
Committed at

Commit message

Add status tab to options page

  • Reuses components from the popup.
  • Displays the most recently read text, as well as the detected language and resolved voice.
  • Buttons to replay the most recent text, and stop reading.
Raw text
Add status tab to options page

- Reuses components from the popup.
- Displays the most recently read text, as well as the detected language and resolved voice.
- Buttons to replay the most recent text, and stop reading.

Changed files (75)

Path Additions Deletions
DEVELOP.md +1 -0
code/.xo-config.cjs +4 -1
code/package-lock.json +1 -0
code/packages/browser-background/src/background.mts +36 -13
code/packages/browser-background/src/background/create-talkie-services.mts +25 -10
code/packages/browser-background/src/background/get-dependencies.mts +30 -3
code/packages/browser-background/src/background/setup-broadcaster-listeners-and-killswitches.mts +194 -76
code/packages/browser-background/src/history-manager.mts +86 -0
code/packages/browser-background/src/talkie-speaker-helpers.mts +3 -1
code/packages/browser-background/src/talkie-speaker.mts +31 -38
code/packages/browser-background/src/voice-pitch-manager.mts +2 -2
code/packages/options-application/package.json +1 -0
code/packages/options-application/src/app/main.tsx +16 -2
code/packages/options-application/src/app/sections/settings.tsx +29 -4
code/packages/options-application/src/app/sections/settings/speaking-history-limit.tsx +226 -0
code/packages/options-application/src/app/sections/status.tsx +474 -0
code/packages/options-application/src/app/sections/support/install-voices.tsx +3 -3
code/packages/options-application/src/app/sections/voices/dialect-voice.tsx +6 -6
code/packages/options-application/src/app/sections/voices/dialect.tsx +4 -4
code/packages/options-application/src/app/sections/voices/language-group.tsx +4 -4
code/packages/options-application/src/app/sections/voices/voice-options/toggle-default.tsx +3 -3
code/packages/options-application/src/components/form/checkbox-with-label.tsx +1 -0
code/packages/options-application/src/components/form/input-with-label.tsx +103 -0
code/packages/options-application/src/components/form/input.tsx +90 -0
code/packages/options-application/src/components/form/multiline-select.tsx +1 -0
code/packages/options-application/src/components/markdown/paragraph.tsx +77 -0
code/packages/options-application/src/components/{markdown.tsx => markdown/strong.tsx} +2 -2
code/packages/options-application/src/components/section/edition-section.tsx +1 -1
code/packages/options-application/src/containers/app.tsx +38 -16
code/packages/options-application/src/containers/settings-container.tsx +38 -12
code/packages/options-application/src/containers/status-container.tsx +127 -0
code/packages/options-application/src/selectors/index.mts +2 -0
code/packages/options-application/src/selectors/settings.mts +43 -0
code/packages/options-application/src/slices/settings.mts +43 -4
code/packages/options-application/tsconfig.json +3 -0
code/packages/popup-application/src/app/main.tsx +3 -7
code/packages/popup-application/src/app/sections/menu.tsx +8 -0
code/packages/popup-application/src/app/sections/status.tsx +18 -6
code/packages/shared-application-helpers/src/speaking-history.mts +42 -0
code/packages/shared-application/src/data/configuration/configuration.json +1 -0
code/packages/shared-application/src/settings-manager.mts +88 -41
code/packages/shared-application/src/storage-manager.mts +18 -2
code/packages/shared-interfaces/src/ispeaking-event.mts +42 -0
code/packages/shared-interfaces/src/ivoices.mts +12 -9
code/packages/shared-interfaces/src/speaking-history.mts +26 -0
code/packages/shared-locales/src/data/_locales/en/base.json +6 -0
code/packages/shared-resources/src/resources/icon/menu/small-replay-disabled.svg +15 -0
code/packages/shared-resources/src/resources/icon/menu/small-replay.svg +15 -0
code/packages/shared-resources/src/resources/style/options.css +12 -0
code/packages/shared-ui/src/components/listeners/is-speaking-listener.tsx +56 -15
code/packages/{popup-application/src/app/sections => shared-ui/src/components}/progress.tsx +10 -9
code/packages/shared-ui/src/containers/is-speaking-listener-container.tsx +18 -0
code/packages/{popup-application => shared-ui}/src/containers/progress-container.tsx +7 -7
code/packages/shared-ui/src/containers/providers.tsx +3 -0
code/packages/shared-ui/src/hocs/pass-selected-text-to-background.tsx +1 -0
code/packages/shared-ui/src/hocs/progress.tsx +2 -1
code/packages/shared-ui/src/hocs/translate.tsx +2 -0
code/packages/shared-ui/src/selectors/index.mts +2 -0
code/packages/shared-ui/src/selectors/speaking.mts +44 -0
code/packages/shared-ui/src/slices/metadata.mts +1 -1
code/packages/shared-ui/src/slices/speaking.mts +136 -0
code/packages/shared-ui/src/slices/voices.mts +6 -5
code/packages/shared-ui/src/styled/button/button-base.tsx +1 -0
code/packages/shared-ui/src/styled/table/table-base.tsx +1 -0
code/packages/shared-ui/src/styles/button/button-base.mts +10 -0
code/packages/shared-ui/src/styles/form/form-base.mts +5 -1
code/packages/shared-ui/src/styles/table/table-base.mts +4 -0
code/packages/shared-ui/src/styles/text/text-base.mts +3 -0
code/packages/split-environment-interfaces/src/iapi.mts +31 -56
code/packages/split-environment-interfaces/src/itranslator-provider.mts +15 -0
code/packages/split-environment-node/src/server-specific/api.mts +45 -6
code/packages/split-environment-node/src/translator-provider.mts +17 -0
code/packages/split-environment-webextension/src/browser-specific/api.mts +76 -13
code/packages/split-environment-webextension/src/browser-specific/italkie-services.mts +17 -6
code/packages/split-environment-webextension/src/translator-provider.mts +17 -0

Commit categories (3)