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

Bump @globus/static-data-portal from 1.3.0 to 1.8.0 #4

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 20, 2024

Bumps @globus/static-data-portal from 1.3.0 to 1.8.0.

Release notes

Sourced from @​globus/static-data-portal's releases.

v1.8.0

1.8.0 (2024-08-19)

We're happy to announce the availability of many new features in the data portal – ready for your deployment!

If you have any questions or issues with your portal, feel free to open a GitHub Issue or contact Globus Support at [email protected].

New Features

Custom Content – content Directory

To simplify adding custom pages or documentation to your data portal, we now support a content directory that allows you to host arbitrary Markdown files. The generated portal will include these files as pages, resulting in URL-accessible routes hosted at their designated path.

Adding Markdown-based Documentation

The most common use case for the content directory is hosting documentation for your users.

Custom-Content.mp4

Customizing the Landing Page Using Markdown

Provide a custom index.md in your content directory – the portal will then use this as the landing page. This override can be helpful for including customization beyond the properties supported in the static.json file.

Custom-Landing.mp4

Images and Other Assets

Prior to this release, images referenced in the static.json file (e.g., attributes.content.image) were expected to be externally hosted assets. With this update can now place arbitrary images and assets in content/assets. These files will be hosted similarly to the rest of your custom content and can be referenced using relative paths in the static.json file and Markdown.

For example, you have uploaded a file at content/assets/globus-site.png, the file can be referenced in Markdown as ![](https://github.com/globus/static-data-portal/blob/HEAD/globus-site.png).

Advanced Use

To allow you to customize even further, files in the content directory support MDX (.mdx).

Using MDX can be a helpful method for incorporating existing UI/UX elements (e.g., buttons) into your Markdown-based content.

In addition to MDX, you can reach for JavaScript (.js(x)) or TypeScript (.ts(x)) since, under the hood, the files you provide in content are synced with our Next.js pages directory.

Navigation Support

While linking between Markdown files in your Custom Content might be enough for your use case, we've also added support for extending the portal's navigation using the static.json file.

{
  "attributes": {
      "navigation": {
         "items": [
             { "label": "Example,  "to": "/example"},
</tr></table> 

... (truncated)

Changelog

Sourced from @​globus/static-data-portal's changelog.

1.8.0 (2024-08-19)

Features

  • adds support for "content" directory (#159) (8a21371)
  • Globus Transfer interactions have been moved to the /transfer route. This allows for custom homepages on / using a index.(mdx/tsx) file. (#204) (c282f81)
  • Improves network request performance and loading states by implementing a cache layer. (#194) (070ab91)
  • support content/assets/* => public/* (2e5945d)
  • upgrade to @​globus/sdk 3.8.0 and use new Transfer utility methods (#199) (989cc44)

Fixes

  • content file overrides for well-known pages (e.g. index.*, privacy-policy.*), no longer need to match the generator's extension (#224) (e3754a9)
  • Adds external link icon to external links in the main navigation and reorders custom links. (34b6915)
  • Adds loading states to "Refresh" and "Start Transfer" buttons. (070ab91)
  • adds predev script (runs prebuild) (d027fe4)
  • adds useLayout hook and improves rendering of pages by sharing a Container (#207) (68bccd8)
  • Ensure full hosted base path is used in various image rendering contexts. (#218) (03a3c43)
  • Ensure relative links in Markdown use Next.js Link component for rendering. (#206) (34b6915)
  • ensure relative paths can be used for images in Markdown (#217) (92ebdf3)
  • ensure the /authorization route refreshes tokens (when returning from an authorization_requirements prompt) (#195) (b042a81)
  • Improves base Markdown rendering for various elements (#216) (b3e1f30)
  • improves the loading states of file browsers (#205) (fe58559)
  • Only render "Size" values for files in file browsers. (a89c2d0)
  • Throttles the &lt;CollectionSearch&gt; requests. (070ab91)

1.7.1 (2024-07-11)

Fixes

  • improve header rendering on smaller devices (#154) (3de3e29)

1.7.0 (2024-07-10)

Features

  • Persist collection (destination) selection state in session storage (#128) (d6a0d12)

Fixes

  • build error encountered due to image configurations (bbf2cfc)

1.5.0 (2024-07-10)

... (truncated)

Commits
  • bef52b9 chore(main): release 1.8.0 (#160)
  • 6c64b21 deps: bump @​playwright/test from 1.46.0 to 1.46.1 (#222)
  • 1aed65e deps: bump typedoc from 0.26.5 to 0.26.6 (#223)
  • e3754a9 fix: content file overrides for well-known pages (e.g. index.*, `privacy-...
  • 03a3c43 fix: Ensure full hosted base path is used in various image rendering contexts...
  • 4f4eeb6 deps: bump typedoc-plugin-markdown from 4.2.4 to 4.2.5 (#215)
  • 92ebdf3 fix: ensure relative paths can be used for images in Markdown (#217)
  • 2e5945d feat: support content/assets/* => public/*
  • 6096b59 ops: remove scripts/preview
  • b3e1f30 fix: Improves base Markdown rendering for various elements (#216)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@globus/static-data-portal](https://github.com/globus/static-data-portal) from 1.3.0 to 1.8.0.
- [Release notes](https://github.com/globus/static-data-portal/releases)
- [Changelog](https://github.com/globus/static-data-portal/blob/main/CHANGELOG.md)
- [Commits](globus/static-data-portal@1.3.0...1.8.0)

---
updated-dependencies:
- dependency-name: "@globus/static-data-portal"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 20, 2024
Copy link
Author

dependabot bot commented on behalf of github Aug 27, 2024

Superseded by #5.

@dependabot dependabot bot closed this Aug 27, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/globus/static-data-portal-1.8.0 branch August 27, 2024 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants