Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ui error when no auth providers configured #1640

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jaskon
Copy link
Contributor

@Jaskon Jaskon commented Jun 9, 2023

This issue

image

Please correct me if i'm wrong: view variable (telegram/token/email) is only exist after some action in the dropdown menu. So its not necessary to check here that view is equal to something and checks provided in my PR is enough

@Jaskon Jaskon requested a review from umputun as a code owner June 9, 2023 16:19
@codecov
Copy link

codecov bot commented Jun 9, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02% 🎉

Comparison is base (c9b6f92) 61.55% compared to head (74fd5a8) 61.57%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1640      +/-   ##
==========================================
+ Coverage   61.55%   61.57%   +0.02%     
==========================================
  Files         133      133              
  Lines        3004     3006       +2     
  Branches      752      761       +9     
==========================================
+ Hits         1849     1851       +2     
- Misses       1038     1151     +113     
+ Partials      117        4     -113     
Files Changed Coverage Δ
...pps/remark42/app/components/auth/auth.messsages.ts 100.00% <ø> (ø)
...rontend/apps/remark42/app/components/auth/auth.tsx 81.69% <100.00%> (+0.26%) ⬆️

... and 24 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@umputun umputun requested a review from akellbl4 June 9, 2023 16:48
@umputun umputun force-pushed the 1456-ui-error-no-auth-providers branch from e804e42 to ee2c352 Compare July 17, 2023 01:51
@paskal paskal force-pushed the 1456-ui-error-no-auth-providers branch from ee2c352 to 74fd5a8 Compare September 16, 2023 14:11
@@ -65,4 +65,8 @@ export const messages = defineMessages<string>({
id: 'auth.signout',
defaultMessage: 'Sign Out',
},
noProviders: {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to add a translation string and regenerate translations in case you're adding new text like that.

@paskal
Copy link
Collaborator

paskal commented Jun 2, 2024

@Jaskon can you please finalise that PR so that we could merge it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants