View new warnings for this build in Warning Next Generation Plugin - jenkins-plugins

Warnings Next Generation plugin contains very useful graphs showing new warnings in this build
Anyone know how to see which warnings make up the new warnings? I can't figure it out via the UI and docs. I have the source and that'll be my next step of no one knows. There's an API too.

Above the table we see two charts. If we click on the arrow for the donut chart we can view the Reference Comparison and if we click on the part of the donut pertaining to the items for which we care, then the table changes what it displays.
In this case, I care about New items so I click on the tiny sliver at 12 o'clock on the donut and see just that one new item.
This is either a brilliant design or a horrible one. A coworker figured it out. I didn't see it even after looking through the code.

Related

sortablejs not working within SharePoint (webpart)

I have an application where items can be dragged and dropped between two lists. For this I use react-sortablejs (which uses sortablejs).
When I start my React application normally (in dev mode or deployed standalone) the drag and drop works as desired.
However, as soon as I embed the application in a SharePoint page (using webpart), the drag and drop feature starts to go haywire: the first drop works as desired, but all subsequent drops of the same item result in strange behavior, primarily duplication of the item.
After some debugging, it looks to me like the item remains in the old list and therefore an error occurs when the item is "pushed back" or a duplicate occurs because another item is pushed into the same list.
I therefore don't think that this is a problem of the library itself (also because I haven't found any similar error messages about this), but that it has something to do with SharePoint. I noticed in another context that classic context menus with absolute positioning also cause problems because event.pageX and event.pageY contain different values.
Anyway, at the moment I have no clue to get to the bottom of this problem, so I'm hoping that anyone might have had similar experiences before. Maybe this ticket will help someone else who runs into similar problems in the future.
My problem went away after setting forceFallack to true

Quill JS | Implement multi page functionality

I am trying to implement multipage functionality with quill. I want to fix the height of each page, and when user reaches the end of page, instead of editor height to grow or scrollbar to appear, I want cursor to go to next page(editor), similar behaviour as observed in Google Docs or Microsoft word document.
I have already added 2 editors in the view, but not having any idea on how to switch to new page as cursor reaches the end of first page.
i come straight from google trying to figure out something similar with quill and as far as i know and as far as i came while researching this specific topic:
to me it seems as if its not possible with multiple editors since as soon as the user wants to select paragraphs/elements over a multi page span you'd have to figure out how to
make the selection actually possible (try to select content over a span of two div elements which both are "contenteditable"-enabled, which was one of my first tries kinda).
spread the selection on multiple editors (you'd have to keep track of how much the user selected and when and how far the selection is within which editor which is kinda tricky)
execute an action over multiple editors which will be especially hard since there is no thing as "shared toolbar" yet (as far as i know)
so i really hope (🙏) the time helped you to find an sharable 🤲 solution to this but as far as i built up my knowledge about quill so far (which is a bit over a few weeks old now).
what i will try in the near future is to add a new module to show a page break and style all other elements accordingly to simulate the look of a page.

Why doesn't CodenameOne Picker show chosen list items after GUI Builder?

I am beginning to learn cn1 and am having a bit of an issue in the new GUI builder. It seems that when I add list items (text) to a picker in the GUI builder and save, they do not appear afterwords in the simulator.
If I go back to the GUI builder, they are still under listed items.
Does this mean the GUI build is only the face of the app, and all items must be added later in code, or am I doing something wrong?
I see the problem, it's a regression in the Picker class. It was caused because of a fix to a different problem. I fixed this in this commit https://github.com/codenameone/CodenameOne/commit/03f82ece7500d4ad57c8f30825fb401431adf798
The fix will be available next week. In the meantime as a workaround you can go into the source code of the form. You would need to expand folded code if it's folded and you would see code similar to this:
gui_Picker.setPropertyValue("Strings", new String[]{"Red", "Green", "Blue", "Yellow"});
gui_Picker.setType(4);
Just copy the setPropertyValue line and paste it in the second constructor under the initGuiBuilderComponents(resourceObjectInstance); line.
The bug is that the setType call erases the value.

unwanted additional title area is added on all screen

All of a sudden I noticed unwanted title area component on top of all forms.
It was not available before today and suddenly it appears on every form.
I also noticed that additional component on real device too.
Any help would be appreciated.
This is the dropshadow for the TitleArea UIID. We mentioned this in the blog here:
We just updated the library with our last ad hoc release, starting
next week we will release libraries every Friday and occasionally also
a plugin update within that same proximity. We made some refinements
to some Android theme elements and one of those refinements is a new
TitleArea drop shadow.
This effectively creates a situation where we can’t reasonably detect
an empty title and so if you want the title to truly disappear you can
either:
Set the TitleArea border attribute to empty
Do something like form.getToolbar().setUIID("Container")

OpenSeadragon change images in a collection on the fly

I have a serie of DZI images (a scanned book) that I want to display in OpenSeadragon. If I use the collectionMode, I can set up OpenSeadragon to display two images on one page. But can I dynamically changes those images into other images?
My goal is to display page even and page odd, two at a time, but use their sequence mode to so to speak turn the pages in the book.
If anyone knows about other projects with a comparable aim, I would also appreciate a nudge in here (It seems to me to be quite an obvious need, but I haven't found any projects working on it yet)?
/Hasse
This is exactly the sort of scenario that https://github.com/openseadragon/openseadragon/issues/386 is meant to address. It's a big project, though, so it may not be usable for a couple months yet. If you're interested in helping to make it happen, we'd love to have the help! Otherwise, you can subscribe to that issue to keep abreast of the progress.
Since I wrote my previous answer, another possibility has shown up. Seajax, a sibling to OpenSeadragon in the Seadragon family tree, has just been released:
https://github.com/seajax/seajax
It already supports custom arrangements of multiple images (though it doesn't yet have much touch support).

Resources