这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rikinsk
Copy link
Member

@rikinsk rikinsk commented Mar 13, 2020

Description

Generate metadata filenames such as: hasura_metadata_2020_03_13_18_10_31_711.json

Changelog

  • CHANGELOG.md is updated with user-facing content relevant to this PR.

Affected components

  • Console
  • Docs

Related Issues

#1772

Solution and Design

Steps to test and verify

Head to /settings/metadata-actions page and hit Export Metadata. Observe downloaded file filename

Limitations, known bugs & workarounds

@netlify
Copy link

netlify bot commented Mar 13, 2020

Deploy preview for hasura-docs ready!

Built with commit 6ca9fae

https://deploy-preview-4106--hasura-docs.netlify.com

@rikinsk rikinsk requested a review from shahidhk as a code owner March 13, 2020 12:49
@rikinsk rikinsk added the c/console Related to console label Mar 13, 2020
@hasura-bot
Copy link
Contributor

Review app for commit 130478f deployed to Heroku: https://hge-ci-pull-4106.herokuapp.com
Docker image for server: hasura/graphql-engine:pull4106-130478fb


const month = (currTime.getMonth() + 1).toString().padStart(2, '0');

const date = currTime
Copy link
Contributor

Choose a reason for hiding this comment

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

What about naming it day?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@rikinsk rikinsk requested a review from beerose March 17, 2020 10:03
@hasura-bot
Copy link
Contributor

Review app for commit 0d5ca72 deployed to Heroku: https://hge-ci-pull-4106.herokuapp.com
Docker image for server: hasura/graphql-engine:pull4106-0d5ca72e

@hasura-bot
Copy link
Contributor

Review app for commit 6ca9fae deployed to Heroku: https://hge-ci-pull-4106.herokuapp.com
Docker image for server: hasura/graphql-engine:pull4106-6ca9fae9

Copy link
Contributor

@marionschleifer marionschleifer left a comment

Choose a reason for hiding this comment

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

Changelog approved 🙏

Copy link
Member

@shahidhk shahidhk left a comment

Choose a reason for hiding this comment

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

changelog approved

@shahidhk shahidhk changed the title console: generate unique exported metadata filenames (close #1772) console: unique filenames for exported metadata (close #1772) Mar 18, 2020
@shahidhk shahidhk merged commit 3c6e1a3 into hasura:master Mar 18, 2020
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-4106.herokuapp.com is deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/console Related to console

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants