From 208fdb4ae3d824bbb1d544c1d2a3a9e7fb24bdb7 Mon Sep 17 00:00:00 2001 From: Alan Rynne Date: Thu, 4 Nov 2021 10:59:15 +0100 Subject: [PATCH] Minor cleanup and fixes --- README.md | 12 ++- frontend/README.md | 78 ------------------- frontend/package-lock.json | 2 +- frontend/package.json | 2 +- frontend/src/App.vue | 10 --- .../commitSelector/CommitSlider.vue | 9 ++- frontend/src/graphql/streamSearch.graphql | 8 -- frontend/src/router/index.js | 8 +- frontend/src/views/WelcomeView.vue | 9 ++- 9 files changed, 29 insertions(+), 109 deletions(-) delete mode 100644 frontend/README.md delete mode 100644 frontend/src/graphql/streamSearch.graphql diff --git a/README.md b/README.md index d78bf9a..f8dadd2 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,11 @@ Returns the diff commit if the operation was successfull. # Workshop pre-requisites +You'll need an IDE to follow along with the code. We'll be using VSCode for the class, but any other will work too. You will also need the following extensions: + +- Vetur +- Python (comes preinstalled now, but just to be safe) + For the **server**, you must have: - `python` installed in your computer (at least version `3.6`, `3.9` recommended) [Download it here](https://www.python.org/downloads/) @@ -84,11 +89,14 @@ For the **server**, you must have: # and then pip install "uvicorn[standard]" ``` -- +- Install `specklepy` + ```shell + pip install specklepy + ``` For the **Vue app**: - Install `node` [Download it here](https://nodejs.org/en/download/) - Install `vue CLI` - [Instructions here](https://cli.vuejs.org/guide/installation.html) - Install `vetur` VSCode extension -- Install `vue dev tools` for Chrome \ No newline at end of file +- Install `vue dev tools` for Chrome diff --git a/frontend/README.md b/frontend/README.md deleted file mode 100644 index a5f235c..0000000 --- a/frontend/README.md +++ /dev/null @@ -1,78 +0,0 @@ -

-
- Speckle | Revit Dashboard -

-

- Speckle App to display Revit commits -

-

Speckle is data infrastructure for the AEC industry.


- -

Twitter Follow Community forum users website docs

-

.NET Core

- -# About Speckle - -What is Speckle? Check our ![YouTube Video Views](https://img.shields.io/youtube/views/B9humiSpHzM?label=Speckle%20in%201%20minute%20video&style=social) - -### Features - -- **Object-based:** say goodbye to files! Speckle is the first object based platform for the AEC industry -- **Version control:** Speckle is the Git & Hub for geometry and BIM data -- **Collaboration:** share your designs collaborate with others -- **3D Viewer:** see your CAD and BIM models online, share and embed them anywhere -- **Interoperability:** get your CAD and BIM models into other software without exporting or importing -- **Real time:** get real time updates and notifications and changes -- **GraphQL API:** get what you need anywhere you want it -- **Webhooks:** the base for a automation and next-gen pipelines -- **Built for developers:** we are building Speckle with developers in mind and got tools for every stack -- **Built for the AEC industry:** Speckle connectors are plugins for the most common software used in the industry such as Revit, Rhino, Grasshopper, AutoCAD, Civil 3D, Excel, Unreal Engine, Unity, QGIS, Blender and more! - -### Try Speckle now! - -Give Speckle a try in no time by: - -- [![speckle XYZ](https://img.shields.io/badge/https://-speckle.xyz-0069ff?style=flat-square&logo=hackthebox&logoColor=white)](https://speckle.xyz) ⇒ creating an account at -- [![create a droplet](https://img.shields.io/badge/Create%20a%20Droplet-0069ff?style=flat-square&logo=digitalocean&logoColor=white)](https://marketplace.digitalocean.com/apps/speckle-server?refcode=947a2b5d7dc1) ⇒ deploying an instance in 1 click - -### Resources - -- [![Community forum users](https://img.shields.io/badge/community-forum-green?style=for-the-badge&logo=discourse&logoColor=white)](https://speckle.community) for help, feature requests or just to hang with other speckle enthusiasts, check out our community forum! -- [![website](https://img.shields.io/badge/tutorials-speckle.systems-royalblue?style=for-the-badge&logo=youtube)](https://speckle.systems) our tutorials portal is full of resources to get you started using Speckle -- [![docs](https://img.shields.io/badge/docs-speckle.guide-orange?style=for-the-badge&logo=read-the-docs&logoColor=white)](https://speckle.guide/dev/) reference on almost any end-user and developer functionality - -![Untitled](https://user-images.githubusercontent.com/2679513/132021739-15140299-624d-4410-98dc-b6ae6d9027ab.png) - -# Repo structure - -> TBD!!! - -- `frontend/` -- `backend/` - -### Other repos - -Make sure to also check and ⭐️ these other Speckle repositories: - -- [`speckle-sharp`](https://github.com/specklesystems/speckle-sharp): .NET SDK, tooling, schema and Connectors -- [`speckle-server`](https://github.com/specklesystems/speckle-server): Server and Web packages -- [`specklepy`](https://github.com/specklesystems/specklepy): Python SDK 🐍 -- [`speckle-excel`](https://github.com/specklesystems/speckle-excel): Excel connector -- [`speckle-unity`](https://github.com/specklesystems/speckle-unity): Unity 3D connector -- [`speckle-blender`](https://github.com/specklesystems/speckle-blender): Blender connector -- [`speckle-unreal`](https://github.com/specklesystems/speckle-unreal): Unreal Engine Connector -- [`speckle-qgis`](https://github.com/specklesystems/speckle-qgis): QGIS connectod -- [`speckle-powerbi`](https://github.com/specklesystems/speckle-powerbi): PowerBi connector -- and more [connectos & tooling](https://github.com/specklesystems/)! - -## Developing and Debugging - -This app uses Vue.js 2. In order to run it locally - -### Security - -For any security vulnerabilities or concerns, please contact us directly at security[at]speckle.systems. - -### License - -Unless otherwise described, the code in this repository is licensed under the Apache-2.0 License. Please note that some modules, extensions or code herein might be otherwise licensed. This is indicated either in the root of the containing folder under a different license file, or in the respective file's header. If you have any questions, don't hesitate to get in touch with us via [email](mailto:hello@speckle.systems). diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 33364fd..104c857 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,5 +1,5 @@ { - "name": "speckle-revit-dashboard-app", + "name": "speckle-aec-tech-masterclass", "version": "0.1.0", "lockfileVersion": 1, "requires": true, diff --git a/frontend/package.json b/frontend/package.json index 686b529..4ad5082 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,5 +1,5 @@ { - "name": "speckle-revit-dashboard-app", + "name": "speckle-aec-tech-masterclass", "version": "0.1.0", "private": true, "scripts": { diff --git a/frontend/src/App.vue b/frontend/src/App.vue index ccc2f6f..fe2c5d6 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -83,16 +83,6 @@ mdi-account - - Feedback - - mdi-message-alert-outline - - Log out diff --git a/frontend/src/components/commitSelector/CommitSlider.vue b/frontend/src/components/commitSelector/CommitSlider.vue index dbadd88..8f99361 100644 --- a/frontend/src/components/commitSelector/CommitSlider.vue +++ b/frontend/src/components/commitSelector/CommitSlider.vue @@ -60,10 +60,15 @@ export default { props: ["selected", "commits", "disabledId"], methods: { appInitials(sourceApplication) { + console.log(sourceApplication) switch (sourceApplication) { - case sourceApplication.startsWith("Rhino"): + case "Rhino6": + case "Rhino7": return "RH" - case sourceApplication.startsWith("Revit"): + case "Revit2019": + case "Revit2020": + case "Revit2021": + case "Revit2022": return "RVT" case sourceApplication.startsWith("Autocad"): return "ACAD" diff --git a/frontend/src/graphql/streamSearch.graphql b/frontend/src/graphql/streamSearch.graphql deleted file mode 100644 index 0b8d563..0000000 --- a/frontend/src/graphql/streamSearch.graphql +++ /dev/null @@ -1,8 +0,0 @@ -query { - user { - avatar - id - name - email - } -} \ No newline at end of file diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 1f7d8b4..69c4dd9 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -14,15 +14,15 @@ const routes = [ component: Home, meta: { requiresAuth: true, - title: "Speckle Revit Dashboard", + title: "Speckle AEC Tech Masterclass", metaTags: [ { name: "description", - content: "The speckle Revit Dashboard homepage" + content: "The Speckle AEC Tech Masterclass homepage" }, { property: "og:description", - content: "The speckle Revit Dashboard homepage" + content: "The Speckle AEC Tech Masterclass homepage" } ] } @@ -33,7 +33,7 @@ const routes = [ component: WelcomeView, meta: { requiresNoAuth: true, - title: "Login | Speckle Revit Dashboard" + title: "Login | Speckle AEC Tech Masterclass" } }, { diff --git a/frontend/src/views/WelcomeView.vue b/frontend/src/views/WelcomeView.vue index 35b0383..80b2adb 100644 --- a/frontend/src/views/WelcomeView.vue +++ b/frontend/src/views/WelcomeView.vue @@ -1,16 +1,19 @@