mirror of
https://github.com/standardnotes/app
synced 2026-10-02 03:13:49 -04:00
* feat: implement prefs -> credentials section UI (w/o backend integration)
* feat: implement credentials information on Prefs -> Account pane
- implement email changing UI (w/o backend integration)
- implement password changing UI and reuse existing change password logic
- replace 2FA dialog with shared one
- implement React hook for preventing window refresh
* fix: provide correct types
* refactor: reuse styles from stylekit, rename components and create enum for input types
* refactor: update default exports to named ones, correct texts
* chore: remove unnecessary depenedency
* chore: yarn.lock without unnecessary packages
* Revert "chore: yarn.lock without unnecessary packages"
This reverts commit 64aa75e840.
5 lines
321 B
TypeScript
5 lines
321 B
TypeScript
export const PANEL_NAME_NOTES = 'notes';
|
|
export const PANEL_NAME_TAGS = 'tags';
|
|
// eslint-disable-next-line no-useless-escape
|
|
export const EMAIL_REGEX = /^([a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?)$/;
|