diff --git a/src/App.vue b/src/App.vue
index 8f6d51d..99315a2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -25,11 +25,11 @@
}
#app {
+ font-family: "SF Pro Text";
+
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
- color: #2c3e50;
-
height: 100vh;
width: 100vw;
@@ -43,15 +43,15 @@
width: 100vw;
height: 54px;
+ opacity: 0.75;
+
+ background-color: #EBEBEB;
+
-webkit-user-select: none;
-webkit-app-region: drag;
- background-color: red;
-
- opacity: 0.0;
-
border: none;
- outline:none;
+ outline: none;
}
diff --git a/src/components/messageView/index.vue b/src/components/messageView/index.vue
index d75ef73..58d19e8 100644
--- a/src/components/messageView/index.vue
+++ b/src/components/messageView/index.vue
@@ -23,21 +23,21 @@
+
+
diff --git a/src/components/messageView/mockMessages.ts b/src/components/messageView/mockMessages.ts
deleted file mode 100644
index 6284c82..0000000
--- a/src/components/messageView/mockMessages.ts
+++ /dev/null
@@ -1,161 +0,0 @@
-import { Message } from "@/types/message/index";
-
-const Messages: Message[] = [
- {
- content: "Welcome",
- context: "ai",
- subContext: "",
- modifier: "ai",
- id: "2",
- time: ""
- },
- {
- content:
- "add friend",
- context: "launch",
- subContext: "",
- modifier: "sf",
- id: "1",
- time: ""
- },
- {
- content: "Did you mean to addcontact?",
- context: "addcontact",
- subContext: "",
- modifier: "ai",
- id: "5",
- time: ""
- },
- {
- content: "yes",
- context: "fulfill",
- subContext: "",
- modifier: "sf",
- id: "6",
- time: ""
- },
-
- {
- content: "Hey Anna, did you get the paper done?",
- context: "Mesage from Tommy McConville",
- subContext: "New Conversation",
- modifier: "ai",
- id: "3",
- time: ""
- },
- {
- content: "Hey do you know Enrique Hernandez?",
- context: "Message from Crimata",
- subContext: "",
- modifier: "ai",
- id: "7",
- time: ""
- },
-
- {
- content: "Yes posting it online soon.",
- context: "You to Tommy McConville",
- subContext: "",
- modifier: "sf",
- id: "4",
- time: ""
- },
- {
- content: "Hey do you know Enrique Hernandez?",
- context: "Message from Crimata",
- subContext: "",
- modifier: "ai",
- id: "8",
- time: ""
- },
- {
- content: "Hey Anna, did you get the paper done?",
- context: "Message from Tommy McConville",
- subContext: "",
- modifier: "ai",
- id: "9",
- time: ""
- },
- {
- content: "Hey Anna, did you get the paper done?",
- context: "Message from Tommy McConville",
- subContext: "",
- modifier: "ai",
- id: "10",
- time: ""
- },
- {
- content: "Yes posting it online soon.",
- context: "Message from Tommy McConville",
- subContext: "",
- modifier: "sf",
- id: "11",
- time: ""
- },
- {
- content:
- "I can be there at 5 pm tomorrow to greet you at a Chick file with my almond and chive salad.",
- context: "You to Tommy McConville",
- subContext: "",
- modifier: "sf",
- id: "12",
- time: ""
- },
- {
- content: "Hey Anna, did you get the paper done?",
- context: "Message from Tommy McConville",
- subContext: "",
- modifier: "ai",
- id: "13",
- time: ""
- },
- {
- content: "Hey Anna, did you get the paper done?",
- context: "Message from Tommy McConville",
- subContext: "",
- modifier: "ai",
- id: "14",
- time: ""
- },
- {
- content: "Yes posting it online soon.",
- context: "You to Tommy McConville",
- subContext: "",
- modifier: "sf",
- id: "15",
- time: ""
- },
- {
- content: "Sweet, thanks!",
- context: "Message from Tommy McConville",
- subContext: "",
- modifier: "ai",
- id: "16",
- time: ""
- },
- {
- content: "Hey do you know Enrique Hernandez?",
- context: "Message from Crimata AI",
- subContext: "",
- modifier: "ai",
- id: "17",
- time: ""
- },
- {
- content: "Yes posting it online soon.",
- context: "You to Tommy McConville",
- subContext: "",
- modifier: "sf",
- id: "18",
- time: ""
- },
- {
- content: "Sweet, thanks!",
- context: "Message from Tommy McConville",
- subContext: "",
- modifier: "ai",
- id: "19",
- time: ""
- },
-];
-export default Messages;
\ No newline at end of file
diff --git a/src/components/messageView/viewDetails/offsetCalculator.ts b/src/components/messageView/viewDetails/offsetCalculator.ts
index a04e5ab..01be800 100644
--- a/src/components/messageView/viewDetails/offsetCalculator.ts
+++ b/src/components/messageView/viewDetails/offsetCalculator.ts
@@ -5,7 +5,7 @@ import { ref } from "vue";
export default function useOffsetCalculator() {
const xOffset = ref(0);
const yOffset = ref(0);
- const firstChildMarginTop = 0;
+ const firstChildMarginTop = 45;
let previousMessageHeight = 0;
const messagePadding = 15;
diff --git a/src/components/messageView/viewDetails/transitions.ts b/src/components/messageView/viewDetails/transitions.ts
index 8d85701..493725e 100644
--- a/src/components/messageView/viewDetails/transitions.ts
+++ b/src/components/messageView/viewDetails/transitions.ts
@@ -33,9 +33,12 @@ export default function useTransitions() {
const animateMessage = async (el: SVGGElement) => {
+ // Where the message gets translated to.
const elTransform = `translate(${messageOffset.x} ${messageOffset.y})`;
+
const viewTransform = `translate(0 ${-vB})`;
+ // Shift of view height > window height.
if (shift) {
await shiftAnimate(el, elTransform, messageView, viewTransform);
} else {
@@ -44,6 +47,7 @@ export default function useTransitions() {
rendering.value = false;
}
+ // Get height of messageView.
const beforeEnter: VueTransitionCallback = () => {
rendering.value = true;
// query DOM for messageView element
diff --git a/src/components/taInput/index.vue b/src/components/taInput/index.vue
index 91fb570..b0f3a28 100644
--- a/src/components/taInput/index.vue
+++ b/src/components/taInput/index.vue
@@ -1,17 +1,33 @@
-
-
+
+
+
+
+
+