Coder Social home page Coder Social logo

Comments (8)

yquenechdu avatar yquenechdu commented on June 17, 2024

Hi,

Do you have a rspec or cucumber for your code ? I haven't found the tests to your git

Thx
Yannick

from agiledwarf.

markablov avatar markablov commented on June 17, 2024

Do you have a rspec or cucumber for your code ? I haven't found the tests to your git

Unfortunally no, most part of code (66%) written on JS.
But i am going to cover RoR part by tests.

About bug - can you provide logs?

from agiledwarf.

askaaron avatar askaaron commented on June 17, 2024

Here the same, but with Redmine 1.4.3.stable as packed by https://launchpad.net/~ondrej/+archive/redmine on Ubuntu 12.04 LTS and Agile Dwarf 0.0.3.

Weird behaviour:

When i add a sprint, it shows up and has a default title, which can be edited by clicking on it - works fine so far.

BUT:

Next to the title there is a lonely "Click here to edit" which does nothing - you can click it, the text disappears and that's it. Also start and end date are missing completely!

To get start/end date, i have to go to a different tab and return to the tasks tab - then the sprint cards also provide areas for start and end date - but still not editable. You can click the text, but this will only cause the text to disappear - no edit boxes at all and no chance to set start/end date for a sprint.

Editing the title or the description works fine - but not the dates.

from agiledwarf.

spaluc avatar spaluc commented on June 17, 2024

I have the same with latest rev.

start/end dates, estimated h, titles, everything that shouldbe etitable disapairs, IE reports:

Value: 'null' is empty or not an object
Line: 5
char: 42
Code: 0
URI: http://xxxx/redmine/plugin_assets/AgileDwarf/javascripts/libs/jquery.jeditable.ptext.js

from agiledwarf.

bcmedeiros avatar bcmedeiros commented on June 17, 2024

spaluc, the error you report seems bug #41.

from agiledwarf.

codingjoe avatar codingjoe commented on June 17, 2024

The problem is, that jQuery isn't working in jeditable.ptest.js It's the last script to be loaded.
I don't know where, but at some point before jQuery get overwritten.

from agiledwarf.

igloo15 avatar igloo15 commented on June 17, 2024

I just fixed this issue because it was annoying me. The issue was caused by the fact that days and months are switched. So when you picked any date past the 12th it would default to Click to Edit. Changing the dateformat in datepicker.js so that the date is first and month second solves this problem.

look in file jquery.jeditable.datepicker.js

datepicker = {
dateFormat: 'dd/mm/yy', //ADD THIS TO YOUR CODE
onSelect: function() {
// clicking specific day in the calendar should
// submit the form and close the input field
form.submit();
},

    onClose: function() {
      setTimeout( function() {
        if ( !input.is( ':focus' ) ) {
          // input has NO focus after 150ms which means
          // calendar was closed due to click outside of it
          // so let's close the input field without saving
          original.reset( form );
        } else {
          // input still HAS focus after 150ms which means
          // calendar was closed due to Enter in the input field
          // so lets submit the form and close the input field
          form.submit();
        }

        // the delay is necessary; calendar must be already
        // closed for the above :focus checking to work properly;
        // without a delay the form is submitted in all scenarios, which is wrong
      }, 150 );
    }
  };

from agiledwarf.

AlexAndrascu avatar AlexAndrascu commented on June 17, 2024

subscribe

from agiledwarf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.