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 task request details page #404

Merged
merged 8 commits into from
Aug 5, 2023

Conversation

TanishqSingla
Copy link
Contributor

@TanishqSingla TanishqSingla commented Jul 15, 2023

Overview

This PR is a part of stacked PR pattern, The PR below it are:

Tests PR

Desktop view

  • status waiting
     

    Show
    Screenshot from 2023-07-15 07-24-47

  • status approved
     

    Show
    Screenshot from 2023-07-15 07-26-19

  • loading
     
    Showimage

Mobile View

  • status approved
     

    Showimage

  • status waiting
     

    Showimage

  • loading
     

    Showimage

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 15, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8388200
Status: ✅  Deploy successful!
Preview URL: https://86cac53c.dashboard-rds.pages.dev
Branch Preview URL: https://feat-task-request-details.dashboard-rds.pages.dev

View logs

Copy link
Contributor

@kotesh-arya kotesh-arya left a comment

Choose a reason for hiding this comment

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

Loved the utility functions for creating the custom elements 🙌🏻

taskSkeleton.classList.add('hidden');
const data = await res.json();

const { taskData } = data;

Choose a reason for hiding this comment

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

The taskData should be initialised with an {} so that we can avoid undefined errors

Copy link
Contributor Author

Choose a reason for hiding this comment

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

addressed, pls check

}),
);
} catch (e) {
console.log(e);

Choose a reason for hiding this comment

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

Please use console.error instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

addressed

Copy link

@bharati-21 bharati-21 left a comment

Choose a reason for hiding this comment

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

Left a few comments

sahsisunny
sahsisunny previously approved these changes Jul 15, 2023
@sahsisunny sahsisunny dismissed their stale review July 15, 2023 21:35

Fix the conflicts and add test PR link

@TanishqSingla
Copy link
Contributor Author

PR for tests: #407

Copy link
Contributor

@RitikJaiswal75 RitikJaiswal75 left a comment

Choose a reason for hiding this comment

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

Can we keep the path as /tasks itself where we can enlarge a task and request for it?
camel casing in a URL looks odd.

RitikJaiswal75
RitikJaiswal75 previously approved these changes Jul 19, 2023
@RitikJaiswal75 RitikJaiswal75 dismissed their stale review July 19, 2023 00:18

Approved by mistake

Copy link

@bharati-21 bharati-21 left a comment

Choose a reason for hiding this comment

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

Please write tests for these changes

taskRequests/details/index.html Show resolved Hide resolved
taskRequests/details/index.html Show resolved Hide resolved
taskRequests/details/script.js Show resolved Hide resolved
taskRequests/details/script.js Outdated Show resolved Hide resolved
taskRequests/details/script.js Show resolved Hide resolved
taskRequests/details/style.css Outdated Show resolved Hide resolved
taskRequests/script.js Show resolved Hide resolved
Copy link
Contributor

@Pratiyushkumar Pratiyushkumar left a comment

Choose a reason for hiding this comment

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

LGTM

@iamitprakash iamitprakash merged commit e015ed4 into feat/task-request Aug 5, 2023
2 checks passed
@iamitprakash iamitprakash deleted the feat/task-request-details branch August 5, 2023 21:57
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.

7 participants