14:02:12 #startmeeting hubs-devel 14:02:12 Meeting started Tue Oct 17 14:02:12 2017 UTC. The chair is sayan. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:02:12 Useful Commands: #action #agreed #halp #info #idea #link #topic. 14:02:12 The meeting name has been set to 'hubs-devel' 14:02:17 #topic Roll Call 14:02:22 .hello sayanchowdhury 14:02:23 sayan: sayanchowdhury 'Sayan Chowdhury' 14:02:41 .hello shaily 14:02:42 shaily: shaily 'None' 14:02:54 .hello2 14:02:54 .hello wispfox 14:02:58 abompard: abompard 'Aurelien Bompard' 14:03:01 shillman: wispfox 'Suzanne Hillman' 14:03:23 .hello2 14:03:24 jonatoni: jonatoni 'Jona Azizaj' 14:03:29 #chair abompard shillman shaily mizmo jonatoni 14:03:29 Current chairs: abompard jonatoni mizmo sayan shaily shillman 14:03:40 hope I did not miss anybody there 14:04:03 * sayan waits for sometime 14:05:23 #topic Action items from last meeting 14:05:29 Action Items 14:05:32 ------------ 14:05:34 * mizmo working on hubs devel bounties, to be posted after outreachy 14:05:36 application period closes 14:05:38 * mizmo working on search designs for outreachy project 14:05:40 * abompard find a way to have textareas in the widget configuration 14:05:42 panel without having to write a React widget 14:06:04 ^^ updates? 14:06:13 since mizmo will be a little late I can start 14:06:39 I have pushed a PR to have more evolved input tags in the config dialog for simple widgets 14:06:59 and it has been merged 14:07:07 (https://pagure.io/fedora-hubs/pull-request/401) 14:07:11 * mizmo here now 14:07:35 * mizmo has no updates, was out last week 14:08:08 so shaily you can use the new render_tag and render_type attributes of the WidgetParameter class 14:08:17 to generate a textarea 14:08:25 abompard: is there a limit to the tag types you can use 14:08:47 yeah you can only override the tag and / or the "type" attribute of input tags 14:08:57 i did. it looks a little weird though 14:09:07 if you want more then for now you'll have to create a react-based widget 14:09:16 shaily: how so? 14:09:47 so we want to use it for markdown, and the default number of rows is too less. i practically had to type it somewhere else and paste it because i couldn't see the whole thing without scrolling 14:10:02 oh 14:10:49 so you'll want to set more attributes. I had sort of thought of it but went for simpler. I guess those two parameters are not enough 14:11:06 OK I'll find something more versatile 14:11:24 i guess something like a key value list for more attributes 14:11:31 but the textarea follows the text, right? 14:11:48 follows, as in? 14:12:08 I mean the cursor is at the end, so you can see what you are typing 14:12:21 yeah, wait i'll post a screenshot 14:12:31 shaily: that would be good 14:14:09 default: https://i.imgur.com/L0yUnqG.png 14:14:20 after using the handle at the bottom right to increase the size: https://i.imgur.com/TJsZy2f.png 14:15:02 that could work, but i think it's possible to specify the rows attribute by adding more parameters (possibly a list, as mentioned above) to WidgetParameters 14:16:26 like having the user to increase the size every time is kind of cumbersome when we know that it needs to be larger 14:16:44 no, afaik, the scrollbar is always in the bottom 14:16:44 shaily: couldn't you set a larger default size via CSS 14:17:13 oh, is it okay if i add a global style rule.. for all textarea elements? 14:17:31 should be wider too 14:17:43 shaily: no dont make it global 14:18:10 i would make a specific class for this, since it's an editor, maybe name the class textarea-editor or smtg like that 14:19:03 shaily: can you add a overflow: scroll and see if it appears okay? 14:19:27 shaily: yeah, don't apply globally, add a class 14:19:30 isnt overflow scroll the default? 14:20:00 its on overflow: auto; 14:20:06 and it is scrolling at that 14:20:20 mizmo: yes 14:21:05 shaily: just to be clear on my side, when you are typing stuffs in the textarea, you have to increase the height of the textarea to see the text? 14:21:16 the text that is in the bottom 14:21:37 sayan: no 14:22:04 sayan: i think the issue is that the textarea default size is too small (width and height) 14:22:13 i dont see a scrolling issue in the screenshots? 14:22:25 ah ok 14:22:54 shaily: dont be afraid to made the text area wider, too. the modal should be able to handle it (if not it's a bug) 14:23:01 in that case, we can make the default size a bit bigger 14:23:17 ^^ for that modal 14:23:42 im wondering why it's showing up that small by default, where that size is inherited from 14:24:21 height and width of the modal 14:25:05 the text area is set as a % by default? 14:26:12 need to check that 14:26:36 anything else on this topic? 14:26:56 yeah 1 sec 14:27:23 btw the modal didn't increase in width - https://i.imgur.com/7jzLAhj.png 14:28:04 also, i'm done with adding markdown to the sticky widget, but on the frontend it isn't really rendering how we would it to because there are no classes applied to it 14:28:32 shaily: ok we should figure out why moda lisn't increasing in width and fix 14:28:39 can you file a ticket for that? 14:28:46 the lists don't look like lists because of the rules in style-patternlab.css 14:29:00 i guess i'll have to modify the markdown parser to add bootstrap classes to the elements 14:29:05 mizmo: okay, i'll do that 14:29:21 shaily: do you have the specific patternlab style thats problematic handy? 14:29:28 mizmo: do we want to keep the patternlab css? 14:29:45 https://i.imgur.com/NxyYj6L.png 14:30:07 abompard: yeh, the patternlab CSS is basically fedora bootstrap 14:30:49 mizmo: oh ok, because it adds quite a few things on top of fedora-bootstrap, for example the alert boxes are animated in patternlab but not in F-B 14:31:21 i guess we could work around this by having the markdown parser add bootstrap classes by default 14:31:23 abompard: yeh it does - so the parts we dont need are the parts that are used for the patternlab website itself... 14:31:43 abompard: i think - i think what i will do - i'll 'upstream' the new fedora bootstrap classes into fedora bootstrap itself, and we drop the patternlab css for now 14:31:54 abompard: then we wont have all the patternlab crap to deal with 14:32:11 shaily: would you mind making the commit to remove the patternlab css? 14:32:41 sure, i'll do it. we want to completely remove patternlab, right? 14:32:56 #action mizmo to upstream relevant fedora-bootstrap classes from patternlab 14:33:00 i'll make an issue under fedora-bootstrap's pagure to move the new pattern classes into upstream fedora bootstrap. i dont know how we will get the new ones though, i dont know how new versions of fedora bootstrap get deployed 14:33:08 shaily: yeh just nuke it all from fedora-hubs 14:33:32 * mizmo apologizes, this is my mess 14:33:33 mizmo: I usually do the upgrade when I hear there's a new F-B version available :) 14:33:41 * mizmo did a lot of stuff hastily in prep for flock 14:33:47 ("usually" = I did it twice) 14:33:59 abompard: oh ok great, ill give you a heads up when i get the new stuff integrated with F-B then 14:34:02 mizmo: no problem, this stuff happens :) 14:34:20 mizmo: cool 14:34:21 okay, so since this won't cause problems any more... should i make a PR for adding markdown to sticky? i was waiting to discuss this with you in case we wanted to modify the markdown parser to add classes so this doesn't happen 14:34:55 shaily: I think you can make the PR, we can discuss the issue there if we still have problems after patternlab removal 14:35:07 okay, as of now it just renders plain html with no styles / classes 14:35:43 shaily: it may be necessary to add a link to an external CSS when the widget is used 14:36:08 abompard: how come 14:36:40 shaily: oh you mean the HTML is generated *without* class attributes? 14:36:50 abompard: yup 14:37:01 shaily: that's weird. Which parser are you using? 14:37:08 (well, renderer actually) 14:37:32 abompard: https://github.com/Python-Markdown/markdown 14:38:04 i compared it with markdown2 and mistune and it's behavior turned out to match what i was expecting most of the time 14:38:27 i didn't compare performance though (rendering time etc) 14:39:02 shaily: it doesn't matter much since we cache it and the text is small 14:39:12 okay 14:39:22 abompard: what classes should it add though 14:39:50 shaily: I was expecting the renderer to use CSS classes in its HTML to style the result 14:40:25 abompard: oh okay 14:40:45 but maybe not, I havent really played with markdown parsers 14:41:52 shaily: anyway, maybe we can use it without additional CSS, Bootstrap is already setting a lot of that 14:42:05 i guess it's okay that it gives us only what is essential and leaves it to us to add classes 14:42:19 I agree. OK, let's talk about that in the PR 14:42:25 I think we should move on 14:42:27 okay 14:43:16 sayan: not wanting to overthrow your management of the meeting of course ;-) 14:43:25 (but it's 43 minutes in ;-) ) 14:43:55 Yeah 14:44:48 #topic IRC Widget 14:45:25 abompard: stickster told me you had some thoughts to share on the complexity of the IRC widget 14:45:29 About that topic, I'd like to have a discussion with mizmo and sayan 14:45:30 yeah 14:45:44 I think it's going to take more than 15 minutes to talk about 14:46:17 So if you guys have time I'd like to discuss where we are and where we want to go 14:46:23 * stickster pops up :-) 14:46:30 I am free to talk 14:46:34 ah, yes 14:47:16 when I say "with mizmo and sayan" I dont mean in private of course, just with at least you two ;-) 14:47:21 * mizmo has time 14:47:39 Great. Let's talk about that after the meeting? 14:47:58 sure 14:48:05 great 14:48:36 #topic Open Floor 14:49:16 hi jonatoni, do you want to something to share? 14:51:50 #action mizmo working on search designs for outreachy project 14:51:58 #action mizmo working on hubs devel bounties, to be posted after outreachy application period closes 14:52:24 anyone else has to share for open floor? or else we can end the meeting 14:52:53 nothing else from me 14:53:01 okay, ending the meeting in 14:53:03 * mizmo me neither 14:53:04 3. 14:53:06 2. 14:53:08 1. 14:53:10 #endmeeting