Commit Graph

13 Commits

Author SHA1 Message Date
Jeremy Kahn
ea34058fa7
chore: Migrate from Create React App to Vite (#231)
* chore(vite): use vite

* fix(vite): alias lib directory

* chore(vite): set type: module

* chore: update vite and MUI

* fix(vite): make MUI components load

* fix: use node path resolution

* chore(vite): add svg support

* fix(vite): polyfill global

* fix(vite): use import.meta

* fix(vite): use correct svg module resolution

* chore(vite): migrate to vitest

* fix(vite): remove PUBLIC_URL

* fix(tests): mock audio service

* chore(deps): upgrade to react test library 14

* refactor(tests): simplify room test setup

* refactor(tests): make Date.now() mockable

* refactor(vite): remove bootstrap shim

* chore(deps): drop react-scripts

* chore(deps): remove source-map-explorer

Source maps do not currently work with MUI and Vite:
https://github.com/vitejs/vite/issues/15012

Because of this, source map utilities are currently removed.

* refactor(vite): use TypeScript for Vite config

* chore(actions): update actions config for new paths

* fix(service-worker): use VITE_HOMEPAGE for service worker resolution

* fix(vercel): use quotes for build command

* fix(vite): use import.meta.env.MODE

* fix(service-worker): use correct definition for publicUrl

* feat(vite): use vite-plugin-pwa

* fix(pwa): make update prompt work

* fix(types): use vite/client types

* docs(readme): update building instructions

* refactor(vite): simplify theme loading workaround

* refactor(vite): use manifest object

* docs(readme): update tool references

* chore(deps): run `npm audit fix`

* fix(vite): make syntax highlighter work consistently

See: https://github.com/react-syntax-highlighter/react-syntax-highlighter/issues/513

* fix(pwa): remove manifest.json references

* refactor(deps): remove jest references

* refactor(types): remove react-scripts reference

* chore(deps): use TypeScript 5

* refactor(tests): improve persisted storage mocking
2024-03-12 21:44:43 -05:00
Jeremy Kahn
0e2da32c25
fix(routing): [closes #168] Construct redirect URL correctly (#170)
* docs(readme): add note about syncing forks
* fix(routing): use correct pathSegmentsToKeep
2023-09-30 10:36:27 -05:00
MD Taseen Khan
d5aa4d7f0b
feat: Update manifest with description and shortcut (#80)
* update manifest with description and shortcut

* display changed to full screen cause 'Opens the web application without any browser UI and takes up the entirety of the available display area'

* update contributor

* feat: add screenshots

Co-authored-by: Jeremy Kahn <jeremyckahn@gmail.com>
2022-12-17 14:07:43 -06:00
Jeremy Kahn
166fc9ff84 feat: update meta description 2022-11-01 08:46:34 -05:00
Flaykz
492cfa58ce
feat: [#7] Play a sound on new message (#25)
* feat: [#7] Play a sound on new message

* fix: [#7] Since this mock is a no-op, I think we can omit the argument to mockImplementation

Co-authored-by: Jeremy Kahn <jeremyckahn@gmail.com>

* fix: [#7] lazy initialization of this state

Co-authored-by: Jeremy Kahn <jeremyckahn@gmail.com>

* fix: [#7] More accurate error message

Co-authored-by: Jeremy Kahn <jeremyckahn@gmail.com>

* fix: [#7] Replace then with await

* [closes #24]  Settings UI (#26)

* feat: [#24] wire up settings page
* feat: [#24] stand up settings UI
* feat: [#24] implement storage deletion
* feat: [#24] confirm deletion of settings data

* feat: [#7] Add play sound switch in settings

* feat: [#7] avoid typescript warning

Co-authored-by: Jeremy Kahn <jeremyckahn@gmail.com>

* feat: [#7] more straighforward wording

Co-authored-by: Jeremy Kahn <jeremyckahn@gmail.com>

* feat: [#7] remove useless usestate

* feat: [#7] avoid new settings to be undefined in persisted storage

* feat: [#7] creating a chat section in settings

Co-authored-by: Jeremy Kahn <jeremyckahn@gmail.com>
2022-09-26 08:10:31 -05:00
Jeremy Kahn
1ea67e2c3a
feat: [closes #1] display logo (#10)
* feat: display logo
* chore: credit ramyashreeshetty for logo
2022-09-11 17:27:16 -05:00
Ramyashree shetty
7f958e4ebe
[for #1] logo-added (#9) 2022-09-11 16:18:22 -05:00
Jeremy Kahn
c9dadbb89e feat: set page title 2022-08-31 19:18:35 -05:00
Jeremy Kahn
c0b6d4c543 feat: support deeplinks in production 2022-08-29 20:40:07 -05:00
Jeremy Kahn
7e68849eea fix: change start_url to ./ 2022-08-10 22:20:22 -05:00
Jeremy Kahn
7aa2103a04 chore: set up service worker 2022-08-08 20:42:19 -05:00
Jeremy Kahn
ffec853231 chore: change homepage to chitchatter.im 2022-08-08 20:15:39 -05:00
Jeremy Kahn
eb8c0e3852 Initialize project using Create React App 2022-08-07 21:06:40 -05:00