nicholaschiang / hammock

Move your newsletters outside of your inbox. Focus on and learn from the content you love in a distraction-free reading space.
https://readhammock.com
GNU Affero General Public License v3.0
11 stars 1 forks source link

feat(login): add changelog message banner #147

Closed nicholaschiang closed 3 years ago

nicholaschiang commented 3 years ago

Fixes PD-174

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

hammock – ./

🔍 Inspect: https://vercel.com/readhammock/hammock/J4EDjdbpgaXDDBbmpU289Tx3W3qP
✅ Preview: https://hammock-git-login-readhammock.vercel.app

linear[bot] commented 3 years ago
PD-174 Log out all users and display a message

@nicholas: *Reduce the expiresIn time on session cookies and then, when a 401 is detected **and** the cookie exists (indicating that the cookie has expired), show the following message telling them why we logged them out:* > We released some improvements to make Hammock faster and more stable. Please log back in to use the latest version. Full changelog here \[link\]. ![image.png](https://uploads.linear.app/9b054596-6e4c-4711-8959-965d4e799ce8/4035129c-92f2-4901-ab5d-2e93f542d64f/d548e3fb-9fbd-4fc8-be0b-01540b01a709)

codecov[bot] commented 3 years ago

Codecov Report

Merging #147 (48aca43) into develop (b830f49) will decrease coverage by 0.10%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #147      +/-   ##
===========================================
- Coverage    34.31%   34.20%   -0.11%     
===========================================
  Files           88       87       -1     
  Lines         1431     1409      -22     
  Branches       431      425       -6     
===========================================
- Hits           491      482       -9     
+ Misses         940      927      -13     
Impacted Files Coverage Δ
pages/login.tsx 80.00% <ø> (-10.00%) :arrow_down:
components/dialog.tsx 100.00% <100.00%> (ø)
lib/hooks/loading.tsx 81.81% <0.00%> (-18.19%) :arrow_down:
pages/api/redirect.ts

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b830f49...48aca43. Read the comment docs.