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(permission): rename change permission #2481

Merged
merged 1 commit into from
Jun 12, 2024
Merged

fix(permission): rename change permission #2481

merged 1 commit into from
Jun 12, 2024

Conversation

ybzky
Copy link
Member

@ybzky ybzky commented Jun 12, 2024

close #xxx

Pull Request Checklist

  • Related tickets or issues have been linked in the PR description (or missing issue).
  • Naming convention is followed (do please check it especially when you created new plugins, commands and resources).
  • Unit tests have been added for the changes (if applicable).
  • Breaking changes have been documented (or no breaking changes introduced in this PR).

@ybzky ybzky requested a review from Gggpound June 12, 2024 03:40
Copy link

codecov bot commented Jun 12, 2024

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 27.12%. Comparing base (56c6e12) to head (f7e8732).
Report is 2 commits behind head on dev.

Files Patch % Lines
...ackages/sheets-ui/src/views/sheet-bar/SheetBar.tsx 0.00% 3 Missing ⚠️
...ges/sheets-ui/src/views/formula-bar/FormulaBar.tsx 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #2481   +/-   ##
=======================================
  Coverage   27.12%   27.12%           
=======================================
  Files        1653     1653           
  Lines       83306    83306           
  Branches    17256    17256           
=======================================
  Hits        22595    22595           
  Misses      60711    60711           

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

Copy link

github-actions bot commented Jun 12, 2024

View Deployment

📑 Examples 📚 Storybook
🔗 Preview link 🔗 Preview link

@@ -1,6 +1,7 @@
.sheet-permission-user-dialog-wrapper {
height: 329px;
padding: var(--padding-base);
box-sizing: content-box;
Copy link
Contributor

Choose a reason for hiding this comment

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

建议全部走flex

const subscription = permissionService.getPermissionPoint$(new WorkbookEditablePermission(unitId)?.id)?.pipe(
map((permission) => permission?.value ?? false)
)?.subscribe((permission) => {
const composePermission$ = permissionService.composePermission$([new WorkbookEditablePermission(unitId)?.id, new WorkbookCreateSheetPermission(unitId)?.id])?.pipe(
Copy link
Contributor

Choose a reason for hiding this comment

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

这里当时不是引用问题么?解了?

@ybzky ybzky merged commit ee6a464 into dev Jun 12, 2024
9 checks passed
@ybzky ybzky deleted the fix-rename-permission branch June 12, 2024 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants