couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michelle Phung <michel...@apache.org>
Subject Re: [COUCHDB-2214] Dashboard as main page
Date Wed, 16 Sep 2015 13:36:53 GMT
Hello Ayloa!

Welcome to the project! 

I see you have found our Fauxton repo (https://github.com/apache/couchdb-fauxton),
from here you are able to pull the latest code, and view pull requests for improvements. 

To get started contributing, I would fork the github repo so you have the latest copy on your
local computer and github account.
Then create a new branch, for your own development, and then start to create/code the main
page. As you are working on, rebase to the master branch (I do this daily, since the master
branch moves fairly quickly, and can easily get diverted from your working branch, making
it more difficult to merge eventually). 

This is a very exciting and fun ticket. :) 

Let us know if there is anything that is unclear, or if you would like further steps. The
code is in currently being transitioned from BackboneJS to ReactJS, so there are some parts
that are still in transition. Not to worry though, after a while, you will get used to it.


Michelle



> On Sep 16, 2015, at 7:03 AM, Ayola Jayamaha <raphaelanne2@gmail.com> wrote:
> 
> Hi All,
> 
> I would like to contribute to Couchdb frontend. Hope you will all continue
> supporting.
> 
> On Sun, May 24, 2015 at 11:07 AM, Dulanga Sashika <wadsashika@gmail.com>
> wrote:
> 
>> Hi Michelle,
>> 
>> Wow, seriously this is amazing :) I pushed this branch to my repo without
>> testing. But it is working :D. Thank you very much for your great help
>> Michelle. I'll send a PR today with few modifications. I think "Progress"
>> and "Update On" fields should be formatted.
>> 
>> And I'll switch to the CouchDB 2.0 from now on. I didn't implement any
>> test cases for this. My next step is to implement test cases for this
>> widget.
>> 
>> Thank you again for your quick reply and great help :)
>> 
>> Thanks and Regards
>> 
>> On Sat, May 23, 2015 at 12:30 AM, Michelle Phung <
>> michelle.phung@cloudant.com> wrote:
>> 
>>> Hi Dulanga,
>>> 
>>> I took a quick peek, and it looks like your widget is receiving
>>> information! Thats great :)
>>> 
>>> To get a persistent Active Task:
>>> 1. Go to Replications tab (in the left most sidebar),
>>> 2. You will see two tabs, make sure that LOCAL is highlighted in red on
>>> both
>>> 3. Choose an existing database from the dropdown,
>>> the database you choose doesn’t need to have that many documents in it
>>> (even 1 document will suffice),
>>> and type in any name you want for a new database in the other text field
>>> 4. Click both checkboxes (Continuous and Create target)
>>> 5. Click Replicate (green button)
>>> 6. Click on Active Task tab (on the far left sidebar)
>>> 7. Under the ‘Active Tasks’ tab, you should see a table for your new
>>> created continuous replication, and it will stay there until you cancel it.
>>> 
>>> I haven’t had a chance to look at the code yet, but I am glad to see that
>>> you are hitting the correct end points, with the widget.
>>> 
>>> I have attached what it looks like so far on my screen.  Awesome progress
>>> so far :)
>>> 
>>> Let me know when you want to create different types Active Tasks, to see
>>> how they would look in the widget.
>>> 
>>> Another thing I noticed is that the widget CSS in with CouchDB 2.0 in
>>> unwieldy. So, this is *optional* for you, but we are planning on releasing
>>> 2.0 soon-ish, so it would be a nice thing if you could update your system
>>> so you are coding with the most developer preview version, so that in case
>>> 2.0 gets released during the summer, you won’t have to go back and change
>>> it again. CSS is tricky enough as it is.
>>> 
>>> There are several things I can think of for you to do, but don’t want to
>>> overwhelm you, plus I think your proposal and the JIRA ticket is a good
>>> guide for the next steps. If you’re unsure, let us know what you think the
>>> next steps are, and we’ll try to guide you. There are some known pitfalls
>>> :) but don’t worry we all help each other out of them.
>>> 
>>> - Michelle
>>> 
>>> Link to the JIRA for quick reference:
>>> https://issues.apache.org/jira/browse/COUCHDB-2214
>>> This is exciting.
>>> 
>>> - Michelle
>>> 
>>> 
>>> On May 22, 2015, at 1:26 PM, Michelle Phung <michelle.phung@cloudant.com>
>>> wrote:
>>> 
>>> Hi Dulanga,
>>> 
>>> Probably the easiest (and fastest way) way for us to give feedback would
>>> be for you to open a PR. That way we can comment on the code inline, and we
>>> can pull the repo down and see how it works in our environment faster.
>>> 
>>> I’ll pull your branch now, and take a look, but if you want more people
>>> to review and the easiest thing you can do is open a PR. That would help us
>>> out. It’s okay that it’s not an actual pull request, you can put [WIP] in
>>> the title and people are kind enough to know that work-in-progress means
>>> it’s not ready yet. Personally, as a developer, I rarely look at the WIP
>>> branches, unless I have a reason, like a request to do so.
>>> 
>>> - Michelle
>>> 
>>> 
>>> On May 21, 2015, at 3:14 PM, Dulanga Sashika <wadsashika@gmail.com>
>>> wrote:
>>> 
>>> Hi all,
>>> 
>>> I implemented the first widget in the dashboard. You can find it in
>>> 
>>> https://github.com/wadsashika/couchdb-fauxton/tree/2214-Dashboard-as-main-page
>>> I didn't send a PR since I need to test the functionality more. I couldn't
>>> generate any active tasks to test this. Michelle told me about two way to
>>> generate active tasks. Now I am trying to do that. If you have any
>>> suggestions to do it in easy way, please help me. And really sorry for the
>>> late reply.
>>> 
>>> Cheers :)
>>> 
>>> On Thu, Apr 30, 2015 at 7:33 PM, Robert Kowalski <rok@kowalski.gd> wrote:
>>> 
>>> Hi Dulanga, Hi Nadeeshaan,
>>> 
>>> welcome! :)
>>> 
>>> Michelle, Ben and me will mentor this summer. And the community
>>> bonding period just started!
>>> 
>>> We will help you regarding the design of your widgets and revision
>>> browser and we will try to provide feedback on your code on a daily
>>> basis - that means that we either will comment on your branch on
>>> GitHub or an open PR on a daily basis.
>>> 
>>> You might already know that writing unit and integration tests is an
>>> absolute must for getting code merged into master.
>>> 
>>> The goal is to make small steps in an iterative way and get the MVP
>>> merged as soon as possible. After that we will iterate and can add
>>> more features. This ensures we have first results our users can make
>>> use of very early in the process and don't have to throw all code away
>>> if we run out of time.
>>> 
>>> 
>>> Please use the time to learn more about Apache CouchDB, read:
>>> 
>>> - http://couchdb.apache.org/bylaws.html
>>> - http://couchdb.apache.org/conduct.html
>>> 
>>> We will invite you to our Fauxton standup next week or the following
>>> one, I will contact you a few days before. It is 16:00 (Berlin
>>> Timezone) on Google Hangouts.
>>> 
>>> Best,
>>> Robert
>>> 
>>> On Tue, Apr 28, 2015 at 6:03 AM, Dulanga Sashika <wadsashika@gmail.com>
>>> wrote:
>>> 
>>> Dear all,
>>> 
>>> Thank you very much for supporting me to achieve this success in GSoC
>>> 
>>> 2015.
>>> 
>>> I will not get accepted for GSoC 2015 without all your great help.
>>> 
>>> Special
>>> 
>>> thanks should go to Robert and Alexander who guide me really well and
>>> 
>>> help
>>> 
>>> me to understand the project and create a good proposal for the project.
>>> 
>>> Looking forward to start the project and working with you all. Thank you
>>> very much again.
>>> 
>>> 
>>> Thank you
>>> 
>>> On Sun, Apr 5, 2015 at 11:08 AM, Dulanga Sashika <wadsashika@gmail.com>
>>> wrote:
>>> 
>>> Problem solved :) thank you very much for the help Robert.
>>> 
>>> On Sat, Apr 4, 2015 at 11:54 PM, Robert Kowalski <rok@kowalski.gd>
>>> 
>>> wrote:
>>> 
>>> 
>>> Hi Dulanga,
>>> 
>>> Given you named your module `documents` you must have your main less
>>> file for the module in `assets/less` and name it `documents.less`.
>>> 
>>> Example:
>>> 
>>> 
>>> https://github.com/apache/couchdb-fauxton/blob/master/app/addons/documents/assets/less/documents.less
>>> 
>>> 
>>> On Sat, Apr 4, 2015 at 7:54 PM, Dulanga Sashika <wadsashika@gmail.com>
>>> wrote:
>>> 
>>> Hi Robert,
>>> 
>>> By following given links and playing around with the code, I could
>>> successfully implement a react component and display a text in the
>>> dashboard. I added a new dashboard.less file to apply styles for
>>> 
>>> that.
>>> 
>>> But
>>> 
>>> it didn't work. Is there any configurations to do before using those
>>> 
>>> less
>>> 
>>> files for the styles? As a next step, I am hoping to implement some
>>> 
>>> complex
>>> 
>>> components. Specially, some movable items with add and remove
>>> 
>>> features
>>> 
>>> as
>>> 
>>> Alex suggested.
>>> 
>>> Best Regards
>>> 
>>> On Sat, Mar 28, 2015 at 12:49 AM, Dulanga Sashika <
>>> 
>>> wadsashika@gmail.com
>>> 
>>> 
>>> wrote:
>>> 
>>> Thank you very much for your valuable ideas Alex. As we discussed in
>>> IRC, I will move into implementing basic structure of the dashboard
>>> rather than bothering about widget design. After doing that, we can
>>> 
>>> go
>>> 
>>> into widgets.
>>> 
>>> Cheers
>>> 
>>> On 3/27/15, Alexander Shorin <kxepal@gmail.com> wrote:
>>> 
>>> On Sat, Mar 21, 2015 at 11:00 PM, Dulanga Sashika <
>>> 
>>> wadsashika@gmail.com>
>>> 
>>> wrote:
>>> 
>>> 
>>> https://www.dropbox.com/s/n1q4whsd460neil/Dashboard_mockup.png?dl=0
>>> 
>>> 
>>> http://i.imgur.com/FFiIpbv.png
>>> 
>>> 1. Widgets customization button shouldn't consume so much valuable
>>> 
>>> space.
>>> 
>>> 2. These buttons are duplicates sidebar menu items without giving
>>> 
>>> any
>>> 
>>> benefits.
>>> 3. 10 active replication are cool, but which are there? I to get
>>> 
>>> this
>>> 
>>> I need to click more which isn't much different from click on
>>> 
>>> Active
>>> 
>>> Tasks sidebar menu item and select filter by replication tasks.
>>> Dashboard should just works and not require any actions from use
>>> 
>>> side.
>>> 
>>> If user click on widget and leaves it - dashboard main goal is
>>> 
>>> failed.
>>> 
>>> 4. Active tasks are already running (: There couldn't be active
>>> stopped ones. Also, here you can show active replications and add
>>> 
>>> some
>>> 
>>> filter. Yes, it will duplicate an active tasks page at some
>>> 
>>> points,
>>> 
>>> but the difference is in short summary of the recent activity
>>> 
>>> shaped
>>> 
>>> into compact form.
>>> 5. Recently visited databases cool, but are they be only 4? May
>>> 
>>> be 10
>>> 
>>> or 20? How about search field to filter this list as well?
>>> 6. Again button that leads to some other page. Why not just a
>>> 
>>> simple
>>> 
>>> list users and a form to search and register new ones?
>>> 7. Same problem. Why not a form to instantly run a replication?
>>> 
>>> If it
>>> 
>>> will be a replication widget, it could also steal a part of
>>> 
>>> features
>>> 
>>> from active tasks widget to show only replications.
>>> 
>>> --
>>> ,,,^..^,,,
>>> 
>>> 
>>> 
>>> --
>>> W. A. Dulanga Sashika,
>>> Undergraduate Student,
>>> Department of Computer Science and Engineering,
>>> University of Moratuwa.
>>> 
>>> 
>>> 
>>> 
>>> --
>>> W. A. Dulanga Sashika,
>>> Undergraduate Student,
>>> Department of Computer Science and Engineering,
>>> University of Moratuwa.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> --
>>> W. A. Dulanga Sashika,
>>> Undergraduate Student,
>>> Department of Computer Science and Engineering,
>>> University of Moratuwa.
>>> 
>>> 
>>> 
>>> 
>>> --
>>> W. A. Dulanga Sashika,
>>> Undergraduate Student,
>>> Department of Computer Science and Engineering,
>>> University of Moratuwa.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> --
>>> W. A. Dulanga Sashika,
>>> Undergraduate Student,
>>> Department of Computer Science and Engineering,
>>> University of Moratuwa.
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> --
>> W. A. Dulanga Sashika,
>> Undergraduate Student,
>> Department of Computer Science and Engineering,
>> University of Moratuwa.
>> 
> 
> 
> 
> -- 
> Best Regards,
> Nishani Jayamaha
> http://ayolajayamaha.blogspot.com/


Mime
View raw message