Support info banner populated from a data source

Open
#1,500 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start by reviewing the ConstructHub deployment and the linked construct-hub-webapp. Define how a configurable URI to a JSON file or feed is retrieved periodically, cached, and read when the webpage loads. Done means the site can prominently display at least one short linked message and update it without redeployment.

Written by the indexing model from the issue text.

Description

feature-request p2
Description

A deployed ConstructHub is a website with potentially anonymous visitors (if deployed publicly). As such there is no direct way to communicate updates, news or status to the visitors.

ConstructHub should support displaying messages (at least a single short message containing a link to further information) prominently on the site. This message should be populated from a configurable source (like a uri to a json file or feed) and be updatable without the need to re-deploy the system. For example the uri could be retrieved periodically in the background and the message written to a cache that is read from when the webpage is loaded.

Likely requires a change to https://github.com/cdklabs/construct-hub-webapp as well.

Use Case
  • Provide a status to an ongoing issue
  • Highlight news are announcements
  • Note about planned downtime
Other information

No response

Dominant language
TypeScript
Stars
240
Forks
30
Avg merge
1d 5h
Merged PRs (30d)
14

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cdklabs/construct-hub

All issues in cdklabs/construct-hub

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.