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

add downloaders name to metadata of datagrid export #264

Merged
merged 4 commits into from
Mar 29, 2024

Conversation

qu-bit1
Copy link
Contributor

@qu-bit1 qu-bit1 commented Feb 10, 2024

To prevent data being shared by some people :(

  • Remove csv and print export option
  • now data is downloaded in xlsx format, with downloader's name being embedded to the metadata of the file

Copy link

vercel bot commented Feb 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ras-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2024 5:39pm

@utkarsh-tf141
Copy link
Contributor

utkarsh-tf141 commented Feb 10, 2024

Add the userID as well @qu-bit1

@utkarsh-tf141
Copy link
Contributor

Try to change the file name as the meta title of the page @qu-bit1. Rest is fine

@qu-bit1
Copy link
Contributor Author

qu-bit1 commented Feb 12, 2024

@utkarsh-tf141 i tried doing that using window.location.pathname, as window was undefined when reloading some pages, so the if condition I used was breaking the website, any other way to do that?

@utkarsh-tf141
Copy link
Contributor

Try using useRouter

@Krishnansh5 Krishnansh5 merged commit dc329f5 into spo-iitk:main Mar 29, 2024
3 checks passed
utkarsh-tf141 added a commit to utkarsh-tf141/ras-frontend that referenced this pull request Apr 4, 2024
…tadata"

This reverts commit dc329f5, reversing
changes made to a83d27c.
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.

3 participants