Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

make session backwards compatible#1528

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

chillenberger
Copy link
Contributor

@chillenbergerchillenberger commentedJun 14, 2024
edited
Loading

  • make session cookie compatible with old cookie and recover no matter what
  • use serde json to string
  • add tests

@chillenbergerchillenberger merged commit23b243b intomasterJun 16, 2024
1 check passed
@chillenbergerchillenberger deleted the dan-notificatioins-backwards-compatible branchJune 16, 2024 18:21
// Get the notification that triggered this call.
//Guaranteed to existsinceit built the component that calledthis, so thisissafe to unwrap.
// Get the notification that triggered this call..
//unwrap notifications if finesincewe should panic ifthisismissing.
Copy link
Contributor

Choose a reason for hiding this comment

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

We should not be panicking if anything optional like this is missing. We should default tovec![].

];

let response = client
.get("/notifications/product/modal/remove_modal?id=1")
Copy link
Contributor

Choose a reason for hiding this comment

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

This feels like the wrong place to implement this. This should be in our web app, and we should pass it through the context into the dashboard.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Not sure what you mean here. The test, or the endpoint should be in web app? I felt like both are needed here since notifications include marketing notifications.

@chillenbergerchillenberger restored the dan-notificatioins-backwards-compatible branchJune 17, 2024 16:11
chillenberger added a commit that referenced this pull requestJun 17, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@levkklevkklevkk left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@chillenberger@levkk

[8]ページ先頭

©2009-2025 Movatter.jp