Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Create Release
on:
push:
tags:
- 'v*'

jobs:
create:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
generate_release_notes: true
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64 changes: 64 additions & 0 deletions .github/workflows/ember.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,67 @@ jobs:

- name: Publish to GitHub registry
run: npm publish

fleetbase_publish:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v2

- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x

- name: Setup pnpm
uses: pnpm/action-setup@v2.0.1
with:
version: latest

- name: Install Dependencies
run: pnpm install

- name: Build
run: pnpm run build

- name: Install Fleetbase CLI
run: npm i -g @fleetbase/cli npm-cli-login

- name: Login to Fleetbase Registry
run: npm-cli-login -u ${{SECRETS.FLEETBASE_REGISTRY_USERNAME}} -p ${{SECRETS.FLEETBASE_REGISTRY_PASSWORD}} -e ${{SECRETS.FLEETBASE_REGISTRY_EMAIL}} -r https://registry.fleetbase.io

- name: Publish to Fleetbase registry
run: flb publish

fleetbase_publish_qa:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v2

- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x

- name: Setup pnpm
uses: pnpm/action-setup@v2.0.1
with:
version: latest

- name: Install Dependencies
run: pnpm install

- name: Build
run: pnpm run build

- name: Install Fleetbase CLI
run: npm i -g @fleetbase/cli npm-cli-login

- name: Login to Fleetbase Registry
run: npm-cli-login -u ${{SECRETS.FLEETBASE_QA_REGISTRY_USERNAME}} -p ${{SECRETS.FLEETBASE_QA_REGISTRY_PASSWORD}} -e ${{SECRETS.FLEETBASE_QA_REGISTRY_EMAIL}} -r https://registry.qa.fleetbase.io

- name: Publish to Fleetbase registry
run: flb publish --registry https://registry.qa.fleetbase.io
4 changes: 2 additions & 2 deletions addon/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export default {
const menuService = universe.getService('menu');

// Register menu item in header
// const iconOptions = { iconComponent: new ExtensionComponent('@fleetbase/solid-engine', 'solid-brand-icon'), iconComponentOptions: { width: 19, height: 19 } };
menuService.registerHeaderMenuItem('Solid', 'console.solid-protocol', { priority: 5 });
const iconOptions = { iconComponent: new ExtensionComponent('@fleetbase/solid-engine', 'solid-brand-icon'), iconComponentOptions: { width: 19, height: 19 } };
menuService.registerHeaderMenuItem('Solid', 'console.solid-protocol', { ...iconOptions, priority: 5 });

// Register admin settings -- create a solid server menu panel with it's own setting options
universe.registerAdminMenuPanel(
Expand Down
29 changes: 0 additions & 29 deletions addon/templates/home.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -58,35 +58,6 @@
</div>
</ContentPanel>

<ContentPanel @title="Quick Actions" @open={{true}} @wrapperClass="bordered-classic">
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="text-center p-6 bg-gray-50 dark:bg-gray-700 rounded-lg">
<FaIcon @icon="folder-tree" @size="2x" class="text-blue-600 dark:text-blue-400 mb-3" />
<h3 class="text-lg font-semibold text-gray-900 dark:text-white mb-2">Browse Data</h3>
<p class="text-gray-600 dark:text-gray-400 mb-4">Explore and manage your Fleetops data in Solid</p>
<div class="flex items-center justify-center">
<Button @text="Browse Data" @icon="database" @type="primary" class="w-full" @onClick={{perform this.navigateToPods}} />
</div>
</div>
<div class="text-center p-6 bg-gray-50 dark:bg-gray-700 rounded-lg">
<FaIcon @icon="user" @size="2x" class="text-green-600 dark:text-green-400 mb-3" />
<h3 class="text-lg font-semibold text-gray-900 dark:text-white mb-2">Account Settings</h3>
<p class="text-gray-600 dark:text-gray-400 mb-4">Manage your account and profile settings</p>
<div class="flex items-center justify-center">
<Button @text="Account" @icon="user" @type="secondary" class="w-full" @onClick={{perform this.navigateToAccount}} />
</div>
</div>
<div class="text-center p-6 bg-gray-50 dark:bg-gray-700 rounded-lg">
<FaIcon @icon="sync" @size="2x" class="text-purple-600 dark:text-purple-400 mb-3" />
<h3 class="text-lg font-semibold text-gray-900 dark:text-white mb-2">Sync Data</h3>
<p class="text-gray-600 dark:text-gray-400 mb-4">Sync your Fleetbase data to Solid storage</p>
<div class="flex items-center justify-center">
<Button @text="Coming Soon" @icon="sync" @disabled={{true}} />
</div>
</div>
</div>
</ContentPanel>

<ContentPanel @title="Connection Status" @open={{true}} @wrapperClass="bordered-classic">
<div class="space-y-3">
<div class="flex items-center">
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fleetbase/solid-api",
"version": "0.0.5",
"version": "0.0.6",
"description": "Solid Protocol Extension to Store and Share Data with Fleetbase",
"keywords": [
"fleetbase-extension",
Expand Down
2 changes: 1 addition & 1 deletion extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Solid",
"version": "0.0.5",
"version": "0.0.6",
"description": "Solid Protocol Extension to Store and Share Data with Fleetbase",
"repository": "https://github.com/fleetbase/solid",
"license": "AGPL-3.0-or-later",
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fleetbase/solid-engine",
"version": "0.0.5",
"version": "0.0.6",
"description": "Solid Protocol Extension to Store and Share Data with Fleetbase",
"fleetbase": {
"route": "solid-protocol"
Expand Down Expand Up @@ -45,11 +45,12 @@
},
"dependencies": {
"@babel/core": "^7.23.2",
"@fleetbase/ember-core": "^0.3.9",
"@fleetbase/ember-ui": "^0.3.15",
"@fleetbase/fleetops-data": "^0.1.24",
"@fleetbase/ember-core": "^0.3.10",
"@fleetbase/ember-ui": "^0.3.17",
"@fleetbase/fleetops-data": "^0.1.25",
"@fortawesome/ember-fontawesome": "^2.0.0",
"@fortawesome/fontawesome-svg-core": "6.4.0",
"@fortawesome/free-brands-svg-icons": "6.4.0",
"@fortawesome/free-solid-svg-icons": "6.4.0",
"broccoli-funnel": "^3.0.8",
"ember-auto-import": "^2.7.4",
Expand Down
Loading
Loading