Skip to content

Commit

Permalink
updates for demo configuration for docker demo compose
Browse files Browse the repository at this point in the history
  • Loading branch information
piggydoughnut committed Apr 24, 2024
1 parent 7b61019 commit 34c61c3
Show file tree
Hide file tree
Showing 13 changed files with 390 additions and 139 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ All user-facing widgets of the application are (and should be) located in its ow
- **[Email-SMTP](./src/integrations/email-smtp/).** Notifications via email.
- **[BambooHR](./src/integrations/bamboohr/)** Allow modules to parse information from BambooHR API.

## Running HQ App locally
## Running Polkadot Hub App locally

### [Quick start](docs/quickstart.md)

Expand Down
39 changes: 23 additions & 16 deletions config-demo/application.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,49 @@
{
"name": "Polkadot Hub Sample",
"name": "Parity HQ",
"auth": {
"providers": ["polkadot"]
},
"layout": {
"mobile": {
"fixed": [["users", "NewjoinerDetector"]],
"office": [
["office-visits", "Actions", { "offices": ["berlin"] }],
[
"office-visits",
"Actions",
{ "offices": ["berlin", "lisbon", "london"] }
],
["announcements", "Announcement"],
["events", "MyEvents"],
["hub-map", "HubMap"],
["quick-navigation", "QuickNav"],
["users", "UsersMapWidget"],
["events", "GlobalEvents", { "offices": ["global"] }]
["users", "UsersMapWidget", { "offices": ["global"] }],
["about", "AboutWidget", { "offices": ["berlin", "lisbon", "london"] }]
],
"events": [["events", "UpcomingEvents"]],
"news": [["news", "LatestNews"]]
},
"desktop": [
[
"desktop": {
"sidebar": [
["users", "NewjoinerDetector"],
["users", "ProfileCard"],
["quick-navigation", "QuickNav"]
["quick-navigation", "QuickNav"],
["about", "AboutWidget", { "offices": ["berlin", "lisbon", "london"] }]
],
[
"main": [
[
"office-visits",
"Actions",
{ "offices": ["berlin", "lisbon", "london"] }
[
"office-visits",
"Actions",
{ "offices": ["berlin", "lisbon", "london"] }
]
],
["announcements", "Announcement"],
["users", "UsersMapWidget", { "offices": ["global"] }],
["events", "GlobalEvents", { "offices": ["global"] }],
[["announcements", "Announcement"]],
[["users", "UsersMapWidget", { "offices": ["global"] }]],
[["hub-map", "HubMap"]],
[
["events", "UpcomingEvents"],
["news", "LatestNews"]
]
]
]
}
}
}
54 changes: 30 additions & 24 deletions config-demo/company.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
"country": "GE",
"icon": "🇩🇪",
"address": "Berlin street 10",
"directions": "Entrance through the courtyard",
"workingHours": ["09:00", "18:00"],
"workingDays": "Mon - Fri",
"timezone": "Europe/Berlin",
"allowGuestInvitation": true,
"allowDeskReservation": true,
Expand All @@ -35,19 +38,35 @@
},
"areas": [
{
"id": "area-1",
"id": "area1",
"name": "1st floor",
"available": true,
"capacity": 5,
"map": "/maps/berlin/area-1.png",
"type": "desks",
"bookable": true,
"meetingRooms": [
{
"id": "room-1",
"name": "Mayflower",
"description": "1st floor",
"capacity": 4,
"equipment": "Whiteboard, stationary, electrical sockets within reachable distance to the table.",
"photo": "/meeting-rooms/berlin/room-1.jpg",
"workingHours": ["08:00", "22:00"],
"autoConfirm": true,
"position": {
"x": 54,
"y": 78
}
}
],
"desks": [
{
"id": "a",
"name": "A",
"type": "flexible",
"position": {
"x": 11,
"x": 10,
"y": 49
}
},
Expand All @@ -56,7 +75,7 @@
"name": "B",
"type": "flexible",
"position": {
"x": 11,
"x": 10,
"y": 78
}
},
Expand Down Expand Up @@ -119,7 +138,7 @@
"name": "I",
"type": "flexible",
"position": {
"x": 70.5,
"x": 69,
"y": 17
}
},
Expand All @@ -128,7 +147,7 @@
"name": "J",
"type": "flexible",
"position": {
"x": 80,
"x": 78.25,
"y": 17
}
},
Expand All @@ -137,7 +156,7 @@
"name": "K",
"type": "flexible",
"position": {
"x": 89,
"x": 88,
"y": 17
}
},
Expand All @@ -146,7 +165,7 @@
"name": "L",
"type": "flexible",
"position": {
"x": 70.5,
"x": 68.5,
"y": 75
}
},
Expand All @@ -155,16 +174,16 @@
"name": "M",
"type": "flexible",
"position": {
"x": 80,
"y": 75
"x": 78.25,
"y": 76
}
},
{
"id": "n",
"name": "N",
"type": "flexible",
"position": {
"x": 89,
"x": 88,
"y": 75
}
}
Expand All @@ -175,7 +194,6 @@
"name": "No floor",
"capacity": 100,
"map": "/maps/berlin/none.png",
"type": "desks",
"desks": [
{
"id": "drop-in",
Expand All @@ -189,18 +207,6 @@
}
]
}
],
"rooms": [
{
"id": "room-1",
"name": "Mayflower",
"description": "1st floor",
"capacity": 4,
"equipment": "Whiteboard, stationary, electrical sockets within reachable distance to the table.",
"photo": "/meeting-rooms/berlin/room-1.jpg",
"workingHours": ["08:00", "22:00"],
"autoConfirm": true
}
]
}
]
Expand Down
Loading

0 comments on commit 34c61c3

Please sign in to comment.