fix(iot-hub): remove cloud install availability gating#534
Merged
Conversation
The cloud install dialog gated the ThingsBoard Cloud (NA/EU) rows behind an `availableFrom` launch date, showing a "coming soon" badge until it passed. The launch has happened, so drop the gating entirely: - Remove the `availableFrom` field, `IOT_HUB_CLOUD_AVAILABLE_FROM` constant, `isInstanceAvailable()` helper, and `comingSoonBadge` string from iot-hub.ts. - Simplify install-dialog.ts rowMarkup to always render copy + action buttons. - Remove the now-unused `.iot-hub-install-dialog__badge` styles.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The IoT Hub cloud install dialog gated the ThingsBoard Cloud (NA/EU) rows behind an
availableFromlaunch date, showing a "coming soon" badge until it passed. The launch has happened, so this removes the gating mechanism entirely.Changes
src/models/iot-hub.ts— remove theavailableFromfield fromInstallInstance, theIOT_HUB_CLOUD_AVAILABLE_FROMconstant, theisInstanceAvailable()helper, and thecomingSoonBadgestring.src/components/IotHub/install-dialog.ts— drop theisInstanceAvailableimport;rowMarkupnow always renders the copy + action buttons.src/components/IotHub/install-dialog.scss— remove the now-unused.iot-hub-install-dialog__badgestyles.This fully reverts the gating introduced in 029209a; a repo-wide grep confirms no remaining references to
availableFrom,isInstanceAvailable,comingSoon,IOT_HUB_CLOUD_AVAILABLE_FROM, orcoming-soon.