[PR #90] [MERGED] User login #554

Closed
opened 2026-03-03 00:22:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BoostIO/BoostNote-App/pull/90
Author: @ButteryCrumpet
Created: 11/13/2019
Status: Merged
Merged: 11/14/2019
Merged by: @ButteryCrumpet

Base: masterHead: user-login


📝 Commits (10+)

  • 5643a82 added Dotenv webpack plugin
  • b39af96 login flow hook
  • a9f45fe user store
  • 11ed671 initial connection to prefernces.general
  • 08c7de3 login base url in env
  • d5d4275 logging in indicator
  • 7ad6aba clearer state tags
  • 42c88e9 switch to saving in preferences rather than custom local storage key
  • ae84c5d clearer name for getLoginPage
  • a112553 environment for deploys

📊 Changes

16 files changed (+288 additions, -28 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 now.json (+9 -0)
📝 package.json (+1 -1)
📝 src/components/PreferencesModal/GeneralTab.tsx (+23 -4)
src/components/atoms/UserInfo.tsx (+17 -0)
src/lib/accounts/api.ts (+78 -0)
src/lib/accounts/index.ts (+2 -0)
src/lib/accounts/login.ts (+63 -0)
src/lib/accounts/users.ts (+34 -0)
📝 src/lib/i18n/enUS.ts (+2 -0)
📝 src/lib/i18n/ja.ts (+2 -0)
📝 src/lib/preferences/types.ts (+3 -1)
src/lib/utils/platform.ts (+9 -0)
src/lib/utils/secret.ts (+3 -0)
src/lib/utils/sleep.ts (+32 -0)
📝 webpack.config.ts (+9 -22)

📄 Description

Implement Signing In spec

  • useUsers hook which uses usePreferences in the background to manage users
  • useLogin hook to provide login flow behaviour

note-app-accounts-working
note-app-accounts


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BoostIO/BoostNote-App/pull/90 **Author:** [@ButteryCrumpet](https://github.com/ButteryCrumpet) **Created:** 11/13/2019 **Status:** ✅ Merged **Merged:** 11/14/2019 **Merged by:** [@ButteryCrumpet](https://github.com/ButteryCrumpet) **Base:** `master` ← **Head:** `user-login` --- ### 📝 Commits (10+) - [`5643a82`](https://github.com/BoostIO/BoostNote-App/commit/5643a8217d44ba27a7badf955c63b3eb92063d33) added Dotenv webpack plugin - [`b39af96`](https://github.com/BoostIO/BoostNote-App/commit/b39af966c83720d6a1ca3c4d1f05ddcac773626f) login flow hook - [`a9f45fe`](https://github.com/BoostIO/BoostNote-App/commit/a9f45fedafec1b864e8e3fb6b1e5114f8b222369) user store - [`11ed671`](https://github.com/BoostIO/BoostNote-App/commit/11ed67173f04970b385d83647cc4fa8d1e9af183) initial connection to prefernces.general - [`08c7de3`](https://github.com/BoostIO/BoostNote-App/commit/08c7de3b5923407a0e770c9aa3b230b9e2d224d4) login base url in env - [`d5d4275`](https://github.com/BoostIO/BoostNote-App/commit/d5d4275e0c04cd954a8661389c34b07c460c9968) logging in indicator - [`7ad6aba`](https://github.com/BoostIO/BoostNote-App/commit/7ad6aba18d86a7cf762ec95231e1c4ded541eb2f) clearer state tags - [`42c88e9`](https://github.com/BoostIO/BoostNote-App/commit/42c88e9a25997080fbf57916543a0936b74b2390) switch to saving in preferences rather than custom local storage key - [`ae84c5d`](https://github.com/BoostIO/BoostNote-App/commit/ae84c5d8ca7a6740343abcb5ea307dcaa8764b2d) clearer name for getLoginPage - [`a112553`](https://github.com/BoostIO/BoostNote-App/commit/a112553db66eef90d3be790046d912d3ad9d50a2) environment for deploys ### 📊 Changes **16 files changed** (+288 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `now.json` (+9 -0) 📝 `package.json` (+1 -1) 📝 `src/components/PreferencesModal/GeneralTab.tsx` (+23 -4) ➕ `src/components/atoms/UserInfo.tsx` (+17 -0) ➕ `src/lib/accounts/api.ts` (+78 -0) ➕ `src/lib/accounts/index.ts` (+2 -0) ➕ `src/lib/accounts/login.ts` (+63 -0) ➕ `src/lib/accounts/users.ts` (+34 -0) 📝 `src/lib/i18n/enUS.ts` (+2 -0) 📝 `src/lib/i18n/ja.ts` (+2 -0) 📝 `src/lib/preferences/types.ts` (+3 -1) ➕ `src/lib/utils/platform.ts` (+9 -0) ➕ `src/lib/utils/secret.ts` (+3 -0) ➕ `src/lib/utils/sleep.ts` (+32 -0) 📝 `webpack.config.ts` (+9 -22) </details> ### 📄 Description Implement Signing In [spec](https://www.notion.so/boostio/Implement-Signing-in-to-BoostNote-next-023b8e270c6f47eaa751c02da4c17d34) - `useUsers` hook which uses `usePreferences` in the background to manage users - `useLogin` hook to provide login flow behaviour ![note-app-accounts-working](https://user-images.githubusercontent.com/19530989/68738848-bb5c4180-062a-11ea-8f9c-af5646d110ea.png) ![note-app-accounts](https://user-images.githubusercontent.com/19530989/68823420-0af84700-06d7-11ea-9c2b-ab238d950a1d.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:22:07 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#554
No description provided.