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

Display notifications about "New CARTO Platform" release #16352

Merged
merged 8 commits into from
Oct 12, 2021

Conversation

Josmorsot
Copy link
Contributor

@Josmorsot Josmorsot commented Oct 5, 2021

Show notifications about new CARTO release

image
image

Copy link
Contributor

@VictorVelarde VictorVelarde left a comment

Choose a reason for hiding this comment

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

Code LGTM @Josmorsot. Don't merge until QA is finished and after it we need to coordinate with other people too

@VictorVelarde
Copy link
Contributor

Image aspect ratio looks a bit distorted if on 'medium' size @Josmorsot:
image

const notificationIsVisible = (date) => {
if (date) {
const today = new Date().getTime();
const duration = 30 * 24 * 60 * 60 * 1000;
Copy link
Contributor

Choose a reason for hiding this comment

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

Everytime I see these computations I will appreciate a more clear name, to avoid reading computation itself. So in this case I would just suggest a variable name like 'oneMonth', which has a clearer intention

Copy link
Contributor

@VictorVelarde VictorVelarde left a comment

Choose a reason for hiding this comment

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

Looks good to me @Josmorsot. Just minor comment

@Josmorsot Josmorsot merged commit e11626b into master Oct 12, 2021
@Josmorsot Josmorsot deleted the ivan/release-tooltip branch October 12, 2021 08:31
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