Skip to content

Commit

Permalink
✨ feat(notifications): revert deprecation notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
thrownullexception committed Mar 27, 2024
1 parent 9ab62b2 commit 98c321a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 47 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
with:
node-version: 21
- run: npm install
# - name: Start Redis
# uses: supercharge/[email protected]
# - run: npm run verify
- name: Start Redis
uses: supercharge/[email protected]
- run: npm run verify
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hadmean",
"version": "0.21.0",
"name": "dashpress",
"version": "1.0.2",
"license": "GPL-3.0-or-later",
"scripts": {
"dev": "next dev",
Expand Down
42 changes: 0 additions & 42 deletions src/frontend/_layouts/app/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import React from "react";
import { InfoAlert } from "frontend/design-system/components/Alert";
import { Copy } from "react-feather";
import { Spacer } from "frontend/design-system/primitives/Spacer";
import { ToastService } from "frontend/lib/toast";
import { LayoutImplementation } from "./LayoutImpl";
import { IsSignedIn } from "./IsSignedIn";
import { MainContent, IMainContentProps } from "./_MainContent";
Expand All @@ -19,44 +15,6 @@ export function AppLayout({
<IsSignedIn>
<PortalProvider>
<LayoutImplementation>
<InfoAlert
renderJsx
action={{
action: () => {
if (
navigator &&
navigator.clipboard &&
navigator.clipboard.writeText
) {
navigator.clipboard.writeText("npx dashpress");
ToastService.success("Command copied to clipboard");
}
},
Icon: Copy,
label: "$ npx dashpress",
}}
message={
<span>
<p>
<b>npx hadmean</b> has been deprecated.
</p>
<p>
We have rebranded to DashPress, hence we will only deploy new
versions to the `dashpress` package and no longer make any
release to the `hadmean` package.
</p>
<p>
The only thing you need to do is to run `npx dashpress`
instead of `npx hadmean`.
</p>
<p>
All your settings will be preserved as it is still the same
code just different name.
</p>
</span>
}
/>
<Spacer />
<MainContent
actionItems={actionItems}
secondaryActionItems={secondaryActionItems}
Expand Down

0 comments on commit 98c321a

Please sign in to comment.