Closed henry0715-dev closed 3 months ago
The recent changes enhance the Table<'d, Account>::update
method by introducing a language
parameter for improved multilingual data management. A new category
field has been added to the database and rules, promoting better structured data handling. Additionally, an update
method for TrustedDomain
has been introduced, refining the management of trusted domains. Overall, these updates significantly bolster the application's functionality and flexibility.
Files | Change Summary |
---|---|
CHANGELOG.md , src/tables/... |
Enhanced Table<'d, Account>::update with language parameter; added category field; new update method for TrustedDomain with error handling. |
src/tables/trusted_domain.rs |
Updated TrustedDomain struct to derive additional traits and added an update method for better management. |
sequenceDiagram
participant User
participant Application
participant Database
User->>Application: Request account update (with language)
Application->>Database: Update account with new language
Database-->>Application: Confirm update
Application-->>User: Acknowledge update success
User->>Application: Request TrustedDomain update
Application->>Database: Update TrustedDomain entry
Database-->>Application: Confirm update
Application-->>User: Acknowledge TrustedDomain update success
Objective | Addressed | Explanation |
---|---|---|
Add update method for TrustedDomain (#327) | ✅ |
🐰 Hop, hop, hooray for changes bright,
New languages and domains take flight!
With updates and gets, our data's a treat,
In the code garden, we dance on our feet!
With structure and ease, we’ll frolic and play,
A vibrant new world, hip-hip-hooray! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
I think we need to discuss this further regarding whether get
is necessary, and others.
I think we need to discuss this further regarding whether
get
is necessary, and others.
I think it is necessary to satisfy the following conditions.
I think we need to discuss this further regarding whether
get
is necessary, and others.I think it is necessary to satisfy the following conditions.
I think the trusted_domain_list
method of review-web already provides what the conditions require.
Attention: Patch coverage is 95.83333%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 61.84%. Comparing base (
c3343e3
) to head (85d2428
). Report is 1 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
src/tables/trusted_domain.rs | 95.83% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@henry0715-dev Could you remove [WIP] that is not necessary any longer? And, I suggest this commit message:
Add the update
method in TrustedDomain
@sophie-cluml Could you review this PR?
And, I suggest this commit message:
Add the
update
method inTrustedDomain
I think this message should apply to the title of this issue as well.
Close #327
Summary by CodeRabbit
Summary by CodeRabbit
New Features
language
parameter in the account update process.category
field for improved data categorization and querying.TrustedDomain
entries.Bug Fixes
Tests
update
method for trusted domains.