Comments

CTaPByK created an issue. See original summary.

CTaPByK’s picture

Assigned: Unassigned » CTaPByK
CTaPByK’s picture

Title: Progress paragraph type » Progress paragraph plugin and type
CTaPByK’s picture

Status: Active » Needs review
StatusFileSize
new18.99 KB
new26.01 KB

Initial patch covers progress paragraph type an progress bar behavior plugin. Test is needed.

CTaPByK’s picture

StatusFileSize
new25.76 KB

Updated with simple test coverage, also with base class for javascript tests, and module info file is changed a bit to follow drupal coding standards.

CTaPByK’s picture

StatusFileSize
new14.53 KB
new39.52 KB

Patch with demo sub module. Content for progress is created and test for demo content is done.

Status: Needs review » Needs work

The last submitted patch, 6: progress_paragraph-2875260-6.patch, failed testing.

CTaPByK’s picture

Status: Needs work » Needs review
StatusFileSize
new1.25 KB
new39.56 KB

Oh, i play a bit with content creation and i was forgot to update test. Here is new patch.

thenchev’s picture

Status: Needs review » Needs work

width and height are fields that we use in the plugin, if we delete them there is a fatal error. I guess ether we need to handle that somehow

CTaPByK’s picture

Status: Needs work » Needs review
StatusFileSize
new2.25 KB
new39.85 KB

Yes, good catch! Updated. We must keep in mind that some user can delete fields from default paragraph types. Also follow-up for updating BS Bootstrap theme is created https://www.drupal.org/node/2882813.

CTaPByK’s picture

Assigned: CTaPByK » Unassigned
thenchev’s picture

Status: Needs review » Needs work
  1. +++ b/modules/paragraphs_collection_bootstrap_demo/src/Tests/ParagraphsCollectionBootstrapDemoTest.php
    @@ -0,0 +1,43 @@
    +class ParagraphsCollectionBootstrapDemoTest extends WebTestBase {
    

    Apparently functional tests are now the preferred way of testing the UI. We should use BrowserTestBase

  2. +++ b/tests/src/FunctionalJavascript/ParagraphsBootstrapJavascriptTestBase.php
    @@ -0,0 +1,86 @@
    + *
    + * @group paragraphs_collection_bootstrap
    + */
    

    As far as i can tell other base classes for tests don't add this part. Might be wrong but we should try without

CTaPByK’s picture

Status: Needs work » Needs review
StatusFileSize
new4.63 KB
new40.05 KB

Yes i agree with 1. and 2. Updated.

thenchev’s picture

Status: Needs review » Reviewed & tested by the community

No more complains. Would be great to get this in since we have the demo module in here and some base classes. After that other patches will need to be updated.

acaljuba’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new39.56 KB

Now that the demo module skeleton have been commited, we need to change this as well.

thenchev’s picture

Status: Needs review » Reviewed & tested by the community

Back to rtbc

CTaPByK’s picture

StatusFileSize
new39.56 KB

Fix test fails.

CTaPByK’s picture

StatusFileSize
new4.92 KB
new40.24 KB
CTaPByK’s picture

CTaPByK’s picture

StatusFileSize
new30.19 KB

Re-roll.

CTaPByK’s picture

StatusFileSize
new1.37 KB
new36.23 KB
CTaPByK’s picture

  • Denchev authored a19ebe0 on 8.x-1.x
    Issue #2875260 by CTaPByK, acaljuba, Denchev: Progress paragraph plugin...
thenchev’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.