fluid-work IRC Logs-2012-07-04

[02:32:59 CDT(-0500)] <logiclord> how to add a new option in UI option component ?? To be specific with textControls ?

[07:00:43 CDT(-0500)] <logiclord_> can we fire an in event from a demand block ?

[11:26:03 CDT(-0500)] <logiclord> yura1: How can I add my own custom option in UI option component.. to be specific in Text component ?

[13:55:18 CDT(-0500)] <logiclord> yura: can we discuss ?

[13:55:30 CDT(-0500)] <yura> logiclord: hi

[13:56:07 CDT(-0500)] <logiclord> Hi, I am almost done with Milestone 2

[13:56:21 CDT(-0500)] <logiclord> yura: except custom UI option

[13:56:27 CDT(-0500)] <logiclord> that I just mailed you

[13:57:12 CDT(-0500)] <yura> I saw your email, i m not familiar with the uioptions component myself (never really working on it), let me see if someone else might be more familiar

[13:57:36 CDT(-0500)] <yura> anastasiac: is there any documentation logiclord can take a look at related to the uioptions configuration

[13:57:37 CDT(-0500)] <yura> ?

[13:59:22 CDT(-0500)] <anastasiac> yura, logiclord, we do have lots of docs for UIOptions. Are you looking for a tutorial on how to add UIO to a site?

[14:00:08 CDT(-0500)] <logiclord> anastasiac: I want to add my own option.. bascially a drop down

[14:00:11 CDT(-0500)] <yura> anastasiac: i think he needs the something to customize the tabs within uioptions and add custom controls

[14:00:23 CDT(-0500)] <logiclord> https://github.com/logiclord/web-based-epub-reader/blob/master/js/epubUIOptions.js

[14:00:29 CDT(-0500)] <anastasiac> ah, hm.

[14:00:58 CDT(-0500)] <logiclord> ^ my customized version of UI option using just textual component my custom field in a bit hacky way :-/

[14:01:32 CDT(-0500)] <logiclord> yura: I managed to customize tab... anastasiac: I want to add custom control

[14:01:33 CDT(-0500)] <anastasiac> logiclord, I think some work is being done to make UIOptions more easily amenable to extension in this way. I think michelled might be more familiar with what's being done

[14:01:49 CDT(-0500)] <anastasiac> logiclord, you'll find links to the basic API docs here: http://wiki.fluidproject.org/display/docs/Component+APIs

[14:02:00 CDT(-0500)] <anastasiac> those api pages have links to tutorials

[14:02:10 CDT(-0500)] <anastasiac> that would help you become oriented to UIOptions, at least

[14:03:00 CDT(-0500)] <logiclord> anastasiac: I have read wiki on UI options .. that's how I managed to come up with my own version like FatPanel

[14:04:57 CDT(-0500)] <michelled> logiclord: we are doing some work to make this easier, but for now you'll need to dig in a bit.

[14:05:18 CDT(-0500)] <michelled> logiclord: the video player that we are building in Floe contains an extra panel in the fat panel for UIO

[14:05:23 CDT(-0500)] <michelled> that's probably the best example to follow

[14:05:29 CDT(-0500)] <michelled> let me grab you a link

[14:06:12 CDT(-0500)] <michelled> https://github.com/fluid-project/videoPlayer/tree/demo

[14:06:24 CDT(-0500)] <michelled> logiclord: note that you need to look at the demo branch

[14:06:53 CDT(-0500)] <michelled> logiclord: if you look at this demo, you'll see the extra panel: http://build.fluidproject.org/videodemo/videoPlayer/demos/Mammals.html

[14:06:56 CDT(-0500)] <yura> michelled: what about adding custom controls within a tab ?

[14:07:42 CDT(-0500)] <michelled> yura: it would be very similar, but instead of adding a new template for the new panel you'd create your own version of a template

[14:08:00 CDT(-0500)] <yura> logiclord: ^

[14:08:00 CDT(-0500)] <michelled> yura: I haven't actually tried this, but it should work (smile)

[14:08:04 CDT(-0500)] <logiclord> michelled: I need just a single control .. can I customize or reuse already existent component

[14:08:21 CDT(-0500)] <logiclord> michelled: from template u mean html template ?

[14:09:13 CDT(-0500)] <michelled> yeah - and you can specify the url to your custom template - hopefully that's in the docs

[14:09:53 CDT(-0500)] <logiclord> I already tried https://github.com/logiclord/web-based-epub-reader/blob/master/html/uiOptions/UIOptionsTemplate-text.htmt

[14:10:20 CDT(-0500)] <logiclord> but I am not able to follow as how to extend renderer for that extra control

[14:10:22 CDT(-0500)] <logiclord> Page Mode

[14:13:01 CDT(-0500)] <logiclord> michelled: I think I will be able to create a custom component for my custom control.. but can't we add this control to other component like Textual or layout ?

[14:19:46 CDT(-0500)] <michelled> logiclord: can you tell me more about what you are trying to do?

[14:20:20 CDT(-0500)] <logiclord> michelled: I have a container which i owned by a component

[14:20:44 CDT(-0500)] <logiclord> I want user to be able to custoize viewing mode by some control

[14:20:54 CDT(-0500)] <logiclord> which will trigger an event in

[14:21:14 CDT(-0500)] <logiclord> container component ..which can handle rest of the stuff

[14:23:00 CDT(-0500)] <michelled> logiclord: so you are hoping to add a new setting to the layout UIO panel? and you want to hook that setting up to your component? is that right?

[14:24:14 CDT(-0500)] <logiclord> michelled: yes.. actually I have removed all unnecessary stuff from fatpanel .. in my version

[14:24:41 CDT(-0500)] <michelled> logiclord: why are the other setting unnecessary?

[14:26:17 CDT(-0500)] <logiclord> michelled: I have my own table of content and layout which will be handled for ebook

[14:26:54 CDT(-0500)] <logiclord> bascially I have kept all visual text customizations

[14:28:41 CDT(-0500)] <yura> logiclord: i think the problem is that uio will not work with non-uio friendly css, i.e. the one of the book

[14:29:34 CDT(-0500)] <yura> logiclord: I wonder if we might want to not consider book's css and allow user full customization of the book, and we style the epubreader outselves

[14:29:55 CDT(-0500)] <yura> logiclord: this will let us use the uio integration to the fullest

[14:30:19 CDT(-0500)] <logiclord> yura: very minute details can't not be covered with uio

[14:30:20 CDT(-0500)] <logiclord> like

[14:30:29 CDT(-0500)] <logiclord> if we neglect

[14:30:31 CDT(-0500)] <logiclord> book css

[14:30:56 CDT(-0500)] <logiclord> heading images... in between font effects .. alignments etc

[14:30:57 CDT(-0500)] <yura> for example ?

[14:31:07 CDT(-0500)] <yura> right

[14:31:19 CDT(-0500)] <logiclord> moreover user can customize that by our WYSIWYG

[14:31:59 CDT(-0500)] <logiclord> I wanted to keep a customize panel with book layout and common ui like

[14:32:01 CDT(-0500)] <logiclord> uio

[14:33:21 CDT(-0500)] <yura> logiclord: i m not sure i understand, but if we keep the book's css, would we be able to customize alignment, etc ?

[14:34:16 CDT(-0500)] <logiclord> yura: yes.. user will be able to override book css rule.. depending on features available in WYSIWYG editor

[14:34:36 CDT(-0500)] <logiclord> and most epub reader including adobe digital and kindle uses book css

[14:35:02 CDT(-0500)] <michelled> what is the WYSIWYG editor? who is it intended for? authors? readers?

[14:35:37 CDT(-0500)] <logiclord> readers.. who are interested in editing books

[14:35:53 CDT(-0500)] <michelled> editing books for themselves or others?

[14:36:15 CDT(-0500)] <michelled> I'm just trying to get a picture of what you're trying to accomplish - sorry if these questions seems basic (smile)

[14:37:00 CDT(-0500)] <logiclord> michelled: (smile)

[14:38:21 CDT(-0500)] <yura> logiclord: so I think that things like styling layout and all should be customizable via UIO instead of wysiwyg. since it is the user interface options. changes done there are not going to be applied to the book, but rather just a browser

[14:39:20 CDT(-0500)] <logiclord> but uio is too primitive to relied completely.. and we can't expect a reader to style a buch of text and images before reading

[14:39:29 CDT(-0500)] <logiclord> *to be relied

[14:41:26 CDT(-0500)] <logiclord> like uio offers font-family,size,line spacing and color contrasts

[14:42:21 CDT(-0500)] <yura> right, but things that are not there can be customized , through creating a epub reader specific tabs with things you would want to customize

[14:42:38 CDT(-0500)] <yura> in addition to what's there already: text-size, contrast, etc

[14:43:07 CDT(-0500)] <michelled> yura: that makes sense to me

[14:43:35 CDT(-0500)] <logiclord> yura: so we should implement complete WYSIWYG editor ?

[14:43:40 CDT(-0500)] <michelled> but honestly, I think you should be really concrete with the customizations you want to offer

[14:43:53 CDT(-0500)] <logiclord> not sure I understand your point

[14:44:01 CDT(-0500)] <yura> logiclord: just like with video player demo, uio has an additional tab, i think it would be more consistent to have a epub reader specific tab within the uio

[14:44:51 CDT(-0500)] <logiclord> okay.. but a tab for single control ?

[14:45:10 CDT(-0500)] <michelled> logiclord: do you have a design or description of your editor? I have to say, I'm still in the dark as to what you are trying to do (smile)

[14:45:26 CDT(-0500)] <yura> one sec ill paste the mockups

[14:45:38 CDT(-0500)] <yura> http://webbasedepubreader.blogspot.in/2012/06/updated-mockups-version-3.html

[14:47:43 CDT(-0500)] <yura> logiclord: well you mentioned the control , but then we also identified the things that were missing from UIO that could be added in the same tab as well ? granted they are epub reader specific

[14:48:23 CDT(-0500)] <logiclord> yes.. thinks like book reading layout

[14:48:36 CDT(-0500)] <logiclord> which I am trying to add as custom control

[14:48:48 CDT(-0500)] <yura> ya i think they should belong to a separate tab

[14:48:57 CDT(-0500)] <logiclord> okay

[14:49:02 CDT(-0500)] <yura> we probably will find more options that could be configured

[14:49:14 CDT(-0500)] <yura> so that tab would be a good place to put that stuff in

[14:49:22 CDT(-0500)] <yura> what do you think, logiclord ?

[14:49:35 CDT(-0500)] <logiclord> yura: got it .. in this scenario video player sample will be really helful

[14:49:38 CDT(-0500)] <logiclord> (smile)

[14:49:46 CDT(-0500)] <yura> logiclord: ya

[14:50:02 CDT(-0500)] <yura> the only thing that's overcomplicated tehre is the case with multiple videos on the page

[14:50:06 CDT(-0500)] <yura> i dont think we need to worry about that case

[14:50:20 CDT(-0500)] <logiclord> yura: yes

[14:50:25 CDT(-0500)] <logiclord> but we still need to fit the editor thing (even at later point of time) ?

[14:50:44 CDT(-0500)] <michelled> seems to me the editor is a completely different feature

[14:50:51 CDT(-0500)] <yura> logiclord: ya, i think after the integration we ll have to spend some time polishing the existing stuff

[14:51:48 CDT(-0500)] <logiclord> yes the purpose of editor was different... I think editor can be kept in some editing mode which will be activated from our new tab (smile)

[14:52:16 CDT(-0500)] <logiclord> reading area will be converted

[14:53:16 CDT(-0500)] <yura> logiclord: perhaps yes

[14:53:47 CDT(-0500)] <logiclord> okay then.. will finish this task and send u demo video (smile)

[21:57:16 CDT(-0500)] <avtar> hey kasper

[21:57:37 CDT(-0500)] <avtar> sorry for not being able to reply to your email from earlier today

[21:58:28 CDT(-0500)] <avtar> we're currently experiencing an outage at the data centre

[21:58:55 CDT(-0500)] <avtar> i should have something for you by tomorrow afternoon