-
Notifications
You must be signed in to change notification settings - Fork 129
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
created gallery page issue #213 #227
Conversation
Congratulations for making your first Pull Request at JagratiWebApp!! 🎉 Someone from our team will review it soon. |
@coding-geek21 On the first look:
Will give you more extensive review on the code once the page looks as we expect it to look! Thanks for working on this! |
I will make the necessary changes thanks for the review :) |
Hey @coding-geek21, please also leave a comment whenever you make some updates in the PR (so that we can receive a notification) along with the screenshot of the new page (so that we can give you some feedback right away without pulling the PR on our systems and testing it). This will also help you in getting the reviews faster. |
@garg3133 Sorry, actually I thought of showing demo, I forgot it . I will do it now |
12.04.2021_17.22.44_REC.mp4@garg3133 Please review this Thanks! |
This looks pretty great @coding-geek21! A few suggestions:
|
templates/gallery_page.html
Outdated
{% block style %} | ||
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap.min.css" integrity="sha512-P5MgMn1jBN01asBgU0z60Qk4QxiXo86+wlFahKrsQf37c9cro517WzVSPPV1tDKzhku2iJ2FVgL67wG03SGnNA==" crossorigin="anonymous" /> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think bootstrap and jquery is already being used in layout.html
, so you don't need to add these here.
Thanks for the review! I will make the changes and give updates. |
@garg3133 Thank you for your detailed feedback! I made all the requested changes please review it . And I tried running the page without having the jquery links that you mentioned already there in layout.html , but it's not working. 12.04.2021_21.33.25_REC.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And I tried running the page without having the jquery links that you mentioned already there in layout.html , but it's not working.
I see lightbox is using the jQuery you added here. But you can still remove the bootstrap link as it is mostly redundant.
Also, can you format the HTML file? Use Alt + Shift + F
if using VSCode (also verify if everything is working fine after the changes).
Apart from this and a few reviews mentioned below (which are mostly meant to make the code cleaner and easier to read), the PR mostly looks good now.
templates/home/captures.html
Outdated
style="color: red"></i></h1> | ||
</div> | ||
|
||
<br><br> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of br
tags, you should always use margins for adding vertical spaces.
Note: Do not use
<br>
to create margins between paragraphs; wrap them in<p>
elements and use the CSS margin property to control their size.
Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br
.captures-page-heading{ | ||
font-size:35px; | ||
font-weight:bolder; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove font-size
from here as it doesn't seem to do anything anyways (h1
's default font size overrides this, which is infact well-sized. And instead of font-weight
, you can use font-weight-bold
class from bootstrap.
@garg3133 made all the changes and also formatted the code in captures page, I tried running without the links but the lightbox is not working without those links , maybe I guess it's because of different version in Please review the changes , Thank you! |
@coding-geek21 You forgot to remove the class names from HTML. Also, I forgot to mention this before, can you shift the Use of |
@garg3133 made changes removed classes and .home-btn is of no use I forgot to remove it, also moved the scripts inside the block Please review it, Thank you! |
Looks good now @coding-geek21! Although the scripts tags in the Merging it into master 🎉 Thanks for your contribution 🚀 |
Would you like to work ahead on this page (which is to fetch the data from the Other than that, you can also work on our other pages, like we need to create a page for displaying all the feedbacks we receive in the |
@garg3133 yeah sure I would be happy to work on these issues |
@coding-geek21 What would you like? Working ahead on this page itself or on issues like #125, #133, #137, etc. You may check out other issues too and comment on them if you'd like to work on them (even if they're assigned because most of the issues are inactive). (I was talking about #137 in the earlier comment) |
@garg3133 I would like to go ahead on this page for now and I will also look into other issues too |
@coding-geek21 I've created issue #238 for the work on this page (you need to comment on the issue to get it assigned to yourself). Along with this, I'm also assigning you the issue #137, you can work on both these issues parallelly (first start to work on #238 and then you can start working on #137 until the former is reviewed). |
Yes sure , Thank you :) |
Related Issue
Fixes: #213
Prosposed Changes
Additional Info
Screenshots