IRC log of #jetrowebdev for Wednesday, 2025-10-08

thomasboimahGood morning Damon 10:56
thomasboimahgood morning daniel__ 10:56
daniel__Good morning thomasboimah 10:58
gabriel_jetroGreetings family 10:58
daniel__Greeting Gabriel 10:58
thomasboimahgood morning gabriel_jetro 10:58
daniel__Yesterday after washing my clothes,  I started reading on how to file the federal tax return form for the LLC Company, and the IRS form for the nonprofit Company. Today,  I plan to continue and do one of my UoPeople activities. No blocker.11:00
thomasboimahYesterday as requested by Jelkner, I updated the code to change the default todo view to only show incomplete tasks and added an option button to show completed tasks. I pushed this work to Codeberg and it's now ready for review by Chris before merging to main. Today I have a meeting with Sahnun. No blockers.11:00
daniel__ACTION DONE11:00
thomasboimahACTION done11:00
mulbahYesterday I watch Linux+ exam question and answer from YouTube today I plan to complete it11:01
mulbahNO blocker 11:01
mulbahACTION done11:01
svaye_Yesterday I try doing research on the tax system of the U.S. today I will continue editing the business plan. No blockers 11:02
svaye_ACTION done11:02
gabriel_jetroFirstly I'm sorry for missing yesterday meeting, I slept off that's why, but during the day I was reading more on html and came across some new tag that I decided to add to the hope bridge Liberia site, hopefully next week Wednesday I'll be submitting the full html of the website and taking some feedback from you'll, there's no blocker for now.11:02
gabriel_jetroACTION done 11:03
thomasboimahBye guys11:04
thomasboimahACTION sign off until 4:00pm11:05
gabriel_jetroOh nothing much to discuss?11:05
*** thomasboimah has quit (Quit: Leaving)11:05
gabriel_jetroOhk bye all 11:05
*** mulbah has quit (Quit: Leaving)11:05
daniel__ACTION leaving 11:06
*** daniel__ has left #jetrowebdev (None)11:07
svaye_ACTION signs off11:10
*** svaye_ has left #jetrowebdev (None)11:10
*** gabriel_jetro has quit (Quit: Connection closed for inactivity)13:07
thomasboimahHi sahnun 15:47
sahnunHi Thomas15:54
sahnunPlease give me a few minutes. 15:54
sahnunIn the meantime, please think of any questions you have about web development.15:54
thomasboimahsahnun, did you see Jeff respond to the email we be sending one another??15:57
thomasboimah*been*15:57
sahnunyes I saw. We will discuss it shortly.15:58
thomasboimahOkay15:59
sahnunThomas, I'm new to Django but familiar with Python.16:02
sahnunJeff has asked us to do two things: discuss the Django that *you* already know and work on some styles a bit. Let's try to knock this out in the next 30m (I took an unexpected trip to NYC and have plans with a friend shortly.)16:02
sahnunSo, let's start by opening your codeberg for the To Do App.16:03
sahnunLet me know when you're readyl.16:03
thomasboimahOkay, I thought we could look at the app, and with your front-end expertise, decide what small changes would give us the biggest visual improvement for the least amount of code."16:03
thomasboimahhere is the link to the app todo.jetrowebdevelopment.org16:03
thomasboimahAnd i also want to ask you question since you are the front-end expert here16:04
thomasboimahI am ready but what do you think is the best way to share my screen with you?16:05
sahnunI like that plan. 16:06
sahnunI will look into Django and if questions arise I will ask about them.16:06
thomasboimahOkay but i also have a question for you16:06
sahnunFirst of all, besides styling, do you have any questions that would be quicker to answer?16:06
sahnunPlease ask.16:06
thomasboimahIf we could only change 2 or 3 things to make this app look more polished, what would you recommend?16:07
sahnunWhat do you think, first, can you name one thing? Think about the apps you use and how it looks different.16:07
sahnunThink about the UI in terms of components, or pieces. There are todos, navigation links, etc.16:07
thomasboimahis that all16:10
sahnunA UI is just a collection of components, or pieces. The HTML is a starting point but it's useful to think a bit more abstractly, like "that's a 'to-do-item' container, that's a navigation link, that's an 'action' link. Then there are things like typography (fonts, size, colors).16:10
sahnunDo you see a component you would like to improve the styling for?16:11
thomasboimahYes. the button and add some navbar like you talk about16:11
sahnunPlease respond sooner or I will have to answer, it's ok if you don't have an answer or the question is not clear. Just give me feedback.16:11
sahnunOk, so let's improve the button first.16:12
sahnunWhat file is that button in?16:12
thomasboimahso now we have various templates and most of them have a button in it16:13
sahnunYes but what file is one of the buttons in? Any of the templates.16:13
sahnunGood point16:13
thomasboimahbut here is the best thing about django once you have a static/css/style load the base.html template when you make a changes for one it will affect all 16:14
sahnunBut we do in-line styles right?16:14
sahnunIn addition to that.16:14
thomasboimahYes.16:15
sahnunImagine if you had a website where you can't have multiple buttons look differently, would that be a nice website?16:15
sahnunNo, there's a way to modify one button I'm sure :)16:15
sahnunOk, do you have a file that you'd like to choose?16:15
thomasboimahyes by given it a class name16:15
thomasboimahor an id16:15
sahnunCorrect.16:15
thomasboimahOkay let target the task-list view16:16
sahnunGood16:16
thomasboimahit is the first page you when you login16:17
thomasboimah*see*16:17
thomasboimahWhen you open the code on vscode it can be found in task/template/task-list.html16:18
sahnunThose are radio buttons and checkboxes. They're kind of like buttons but not the standard button.16:18
sahnunI'm looking at the file already.16:18
sahnunDo you see a button on that page that looks like a regular button we're used to, not a special type of button? There's only one.16:18
thomasboimahyes the Apply Filters16:19
sahnunGood. What file can we find that iin?16:19
thomasboimahin that same file16:19
sahnunAh! My mistake. 16:20
sahnunOk, so, what we have is a button with no styles.16:20
thomasboimahBut did you where you are going to write the css code?16:20
thomasboimah*know*16:20
sahnunWhere do you think we should write the css?16:20
thomasboimahNow since that we don't have a static/css/style.css file we can do that in the base.html as an in-line css16:21
sahnunSo, can you explain the diff between base.html and task_list.html?16:22
thomasboimahOkay now base.html is a template where you write your basic html code 16:23
thomasboimahso the base.html is like a parent that is feeding the task_list.html16:24
sahnunSo I googled it and base.html is for *common* html code, it's not recommended to have in-line styles in base.html.16:25
sahnunhttps://www.irccloud.com/pastebin/n62RQwYl/16:25
sahnunThis if from Django documentation.16:25
thomasboimahyes sahnun that is what i say basic html16:25
thomasboimah*why*16:25
thomasboimahlook at my explaination16:25
sahnunBase.html *could* be used, however, it's only for defining elements we want across ALL pages, like chunks of UI rather than a single button here and there.16:25
thomasboimahSure16:26
sahnunCorrect, it's a parent.16:26
thomasboimahof course16:26
sahnunI just want to add the documentation to reinforce it for you :)16:26
sahnunSo, where should we put the in-line css, base.html or somewhere else?16:26
thomasboimahbase.html16:26
sahnunWhy?16:26
thomasboimahbecause it will feed all other templates16:27
thomasboimahincluding the task-list.hmel16:27
sahnunWhat if we put it directly into the task_list.html?16:27
thomasboimahso now here is the thing if you write a css for the button tag it will affect all other button16:28
thomasboimahso it you only want to target the button in the task-list you need to give it a class or id16:28
thomasboimahin the task-list.html16:29
sahnunGood.16:29
sahnunWe don'16:29
sahnunWe don't know if we want every button to inherit button styles from base.html16:29
sahnunWe do know we want the task_list view button to look like that.16:29
thomasboimahsure then give a class or id16:29
sahnunSo, do you agree it makes sense to write it in task_list.html?16:30
thomasboimah*it*16:30
thomasboimahNo16:30
thomasboimahit will not work sahnun 16:30
sahnunWhy?16:30
thomasboimahbecause the task-list is only inheriting the style for the base.html16:31
thomasboimah*from*16:31
thomasboimahsahnun, look about template in django doc16:32
thomasboimahmaybe you will understand it more16:32
sahnunSo, if that was true, every style in the application would require to be written in base.html right?16:32
thomasboimahYes. it there is no static/css/style.css like ours16:33
thomasboimah*if*16:33
sahnunOk, well for homework let's both research if we can add inline styles directly to a template :)16:34
sahnunMy instinct is it's possible but your experience says it's not, and I don't have experinece.16:34
thomasboimahOkay, but trust that will not be the best way to do that16:34
thomasboimah*me*16:34
sahnunOk, well we decided not to do it external stylesheet because it's better for learning to do it inline.16:36
sahnunI have to go but you're doing well and I'm so glad you're pushing back!16:36
thomasboimahOkay but please look at the django doc please16:36
thomasboimahWhen should we meet again16:37
thomasboimah?16:37
thomasboimahI think the django documentation will explain it better to then I am16:37
thomasboimah*YOU*16:37
thomasboimahI will create the static/css/style.css directory today16:38
thomasboimahSo that we can transfer the in-line css to it16:39
thomasboimahsahnun, so there any book you can recommend to me for learn modern css?16:39
thomasboimah*learning*16:40
thomasboimahACTION is sign off since sahnun is not responding again16:41
*** thomasboimah has quit (Quit: Leaving)16:43
*** anthony_p has quit (Ping timeout: 480 seconds)20:02
*** ubuntourist has quit (Quit: Leaving)21:14
*** Damon has quit (Quit: Connection closed for inactivity)22:12
*** arya has quit (Quit: Connection closed for inactivity)22:12
*** sahnun has quit (Quit: Connection closed for inactivity)22:12
*** Amar has quit (Quit: Connection closed for inactivity)22:13
*** arbaaz has quit (Quit: Connection closed for inactivity)22:13
*** bennet has quit (Quit: Connection closed for inactivity)22:15

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!