Skip to content

Releases: globus/static-data-portal

v1.10.2

02 Oct 18:29
a21a09a
Compare
Choose a tag to compare

1.10.2 (2024-10-02)

Fixes

  • Addresses issue preventing HTTPS download button appearing on file entries. (#295) (27effc7)

v1.10.1

19 Sep 19:27
31fb7ae
Compare
Choose a tag to compare

1.10.1 (2024-09-19)

Fixes

  • Addresses issue causing new folders being prefixed with "undefined", updates file listing to be sorted by "Name" (#278) (1e1431c)

v1.10.0

19 Sep 13:55
627a26d
Compare
Choose a tag to compare

1.10.0 (2024-09-18)

Features

Multiple collections (and paths) can now be configured using the static.json file.

globus.transfer.collections can now be configured to an array of TransferCollectionConfiguration objects.

     "globus": {
        "transfer": {
          "collections": [
            {
              "collection_id": "543aade1-db97-4a4b-9bdf-0b58e78dfa69"
            },
            {
              "collection_id": "8062693f-f8c2-46be-86d0-de651a974ff3",
              "path": "/home/u_odwnwpvxpjhatlzwj4ap3svc3q/My First Folder"
            }
          ]
        }
        // ...
      }

When this property is provided, the user will be presented with a source selector.

Screen Cast 2024-09-18 at 4 30 40 PM

globus.transfer.collection_id can still be used to enforce a single collection/path without the selector.

Fixes

  • ensure AuthorizationManager methods are awaited (#263) (1306141)

v1.9.0

26 Aug 16:16
fb0a3d3
Compare
Choose a tag to compare

1.9.0 (2024-08-26)

Features

  • Updates the "Path" field to be editable for easy directory navigation. (#242) (a3a2d03)

Screen Cast 2024-08-26 at 11 26 23 AM

Fixes

  • Address scenarios where post-consent an existing (refreshed) token would be used instead of the result of the token response. (a3a2d03)
  • Search: Ensures GCSv5 Endpoints ("nonfunctional" endpoints that do not support transfer) are not displayed in destination collection search results. (#231) (1702e62)

v1.8.0

19 Aug 18:56
bef52b9
Compare
Choose a tag to compare

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 ![](/globus-site.png).

Screenshot 2024-08-19 at 12 51 41 PM

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"},
             { "label": "Source", "href": "https://github.com/globus/template-data-portal" }
         ] 
      }
   }
}
Screenshot 2024-08-19 at 12 49 36 PM

This structure allows you to include both internal (relative) paths, and external links.

Improvements

  • The file browser/Transfer experience has been moved to the /transfer route to accommodate custom landing pages.
  • Improves network request performance and loading states across the application.
  • Many UX and UI improvements to the Transfer page.
Screenshot 2024-08-19 at 12 55 27 PM

Auto-generated release notes can be found below.


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 <CollectionSearch> requests. (070ab91)

v1.7.1

11 Jul 19:28
3f3cb6b
Compare
Choose a tag to compare

1.7.1 (2024-07-11)

Fixes

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

v1.7.0

10 Jul 22:08
fc61986
Compare
Choose a tag to compare

1.7.0 (2024-07-10)

Features

  • Persist collection (destination) selection state in session storage – this will improve the UX when users are redirected through various authorization flows after selecting a collection to transfer to. (#128) (d6a0d12)

Fixes

  • Addresses build error encountered due to image configurations (bbf2cfc)

v1.6.0

10 Jul 21:50
b25f774
Compare
Choose a tag to compare

1.6.0 (2024-07-10)

Features

  • Adds support for content.subtitle (#140) (d74bf52)

    • Screenshot 2024-07-10 at 4 11 48 PM
  • Adds support for MDX (#142) (7c02ca0)

    • This feature is part of a suite of changes targeted toward simplifying the addition of custom pages in distributed portals – we'll have more documentation and updates on usage patterns soon!
    • The following pages have been changed to MDX files to simplify overrides:
      • pages/privacy-policy.tsx is now pages/privacy-policy.mdx
      • pages/terms-and-conditions.tsx is now pages/terms-and-conditions.mdx

Fixes

  • Removes default image attribution when a custom content.image is used. (d74bf52)
  • Adds Globus logo to "Powered by Globus" footer. (d74bf52)

v1.4.0

18 Jun 21:01
ebc3533
Compare
Choose a tag to compare

Features

  • Adds support for mkdir and rename in destination browser. (#58) (a1e93a4)

Screen Cast 2024-06-18 at 3 58 25 PM

v1.3.0

01 May 20:57
a3bc933
Compare
Choose a tag to compare

1.3.0 (2024-05-01)

What's Changed

  • deps: bump the typescript-eslint group across 1 directory with 2 updates by @dependabot in #51
  • deps: bump the next group across 1 directory with 2 updates by @dependabot in #53
  • deps: bump @types/react from 18.2.78 to 18.2.79 in the react group by @dependabot in #45
  • deps: bump the react group with 4 updates by @dependabot in #55
  • deps: bump eslint-plugin-react-hooks from 4.6.0 to 4.6.1 by @dependabot in #56
  • chore: adds Apache-2.0 LICENSE by @jbottigliero in #57
  • deps: bump the react group with 3 updates by @dependabot in #59
  • deps: bump eslint-plugin-react-hooks from 4.6.1 to 4.6.2 by @dependabot in #60
  • deps: bump @globus/sdk from 3.0.0-alpha.17 to 3.0.0 by @dependabot in #61
  • deps: bump the typescript-eslint group with 2 updates by @dependabot in #62
  • feat: add link to Globus Web App Task Overview on successful Transfer task creation. by @jbottigliero in #63
  • feat: adds support for data.attributes.theme by @jbottigliero in #64

Full Changelog: 1.2.3...1.3.0