Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add mobile layouts #31

Merged
merged 29 commits into from
Sep 2, 2024
Merged

feat: add mobile layouts #31

merged 29 commits into from
Sep 2, 2024

Conversation

tomwisecodes
Copy link
Contributor

@tomwisecodes tomwisecodes commented Aug 29, 2024

Description

  • List of changes

Issue(s)

Fixes #

How to test

  1. Go to https://oak-ai-lesson-assistant-di5j6k54g.vercel-preview.thenational.academy
  2. Click on ______
  3. You should see ______

Screenshots

How it used to look (delete if n/a):
{screenshots}

How it should now look:
{screenshots}

Checklist

  • Manually tested across browsers / devices
  • Considered impact on accessibility
  • Does this PR update a package with a breaking change

Copy link

vercel bot commented Aug 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
oak-ai-lesson-assistant ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 2, 2024 4:59pm

Copy link

github-actions bot commented Aug 29, 2024

Playwright e2e tests

Job summary

Download report

To view traces locally, unzip the report and run:

npx playwright show-report ~/Downloads/playwright-report

@@ -14,7 +14,9 @@ export function SurveyDialogLauncher() {
useEffect(() => {
if (survey) {
const timer = setTimeout(() => {
setDialogWindow("feedback");
if (window.innerWidth < 768) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could 768 be a const somewhere?

webDebuggerOptions: {
position: WebDebuggerPosition.BottomLeft({
// stop this from being displayed at all
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this comment in wrong place?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

me getting rid of avo on every pr lol ill remove

packages/api/src/router/exports.ts Show resolved Hide resolved
useState(false);

useEffect(() => {
console.log("ailaStreamingStatus", ailaStreamingStatus);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can remove log?


import { AilaStreamingStatus } from "@/components/AppComponents/Chat/Chat/hooks/useAilaStreamingStatus";

export const useMobileLessonPullOutControl = ({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What actually is the mobile lesson pullout? can't see it anywhere otherthan "close" or "user has overridden". Is it a component?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the right-hand side that becomes a pull out for mobile

Copy link
Collaborator

@mantagen mantagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good -- functionality not tested

Copy link

sonarqubecloud bot commented Sep 2, 2024

@tomwisecodes tomwisecodes merged commit f76b220 into main Sep 2, 2024
12 checks passed
@tomwisecodes tomwisecodes deleted the feat/mobile branch September 2, 2024 17:02
@tomwisecodes tomwisecodes restored the feat/mobile branch September 2, 2024 17:16
mantagen pushed a commit that referenced this pull request Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants