profile
viewpoint

Async0x42/standalone-timeline 1

Simile timeline without external dependencies and unbundled. You can now see by yourself how the magic happens!

Async0x42/exceljs 0

Excel Workbook Manager

Async0x42/js-xlsx 0

XLSX / XLSM / XLSB (Excel 2007+ Spreadsheet) / ODS parser and writer

Async0x42/sharepoint-events-parser 0

A way to parse SharePoint Calendar Event RecurrenceData into individual event objects with javascript

Async0x42/simile-ajax 0

Common javascript utilities.

Async0x42/sloc 0

simple tool to count SLOC (source lines of code)

Async0x42/SPCalendarPro 0

An ultra lightweight, dependency-free JavaScript library to easily manage SharePoint calendar events.

Async0x42/SpRestLib 0

JavaScript SharePoint REST Web Services Library

startedD-Pow/MockRequests

started time in 11 days

push eventAsync0x42/sloc

Aaryn Bryanton

commit sha 200ea0be0193e5d91156e1887f5012dfa59b4114

fix

view details

push time in a month

create barnchAsync0x42/sloc

branch : json-simple-formatter

created branch time in a month

fork Async0x42/sloc

simple tool to count SLOC (source lines of code)

fork in a month

issue commentvisjs/vis-timeline

exclude moment from bundle by default?

I used date-fns before. It's great since it's just a bunch of functions so we would pick what we need without bloating the bundle.

Agreed, I'm really only using Moment because it's embedded within visjs, if it wasn't then I'd definitely go back to date-fns

mojoaxel

comment created time in a month

issue commentvisjs/vis-timeline

exclude moment from bundle by default?

Another alternative to think about if removing moment could be date-fns.

https://date-fns.org

mojoaxel

comment created time in a month

create barnchAsync0x42/vis-timeline

branch : temp-fix

created branch time in a month

fork Async0x42/vis-timeline

📈 Create a fully customizable, interactive timelines and 2d-graphs with items and ranges.

https://visjs.github.io/vis-timeline/

fork in a month

startedTerryCavanagh/VVVVVV

started time in a month

startedalyssaxuu/flowy

started time in a month

startedjakibaki/In-Home-Switching

started time in a month

issue commentvisjs/vis-timeline

Timeline not loading due to 'Object expected'-error in IE11

I haven't looked into it yet, but the latest version (6.3.5) breaks IE11 support for me. 6.3.4 seems to work in IE11.

pwlinkas

comment created time in a month

startedantfu/vueuse

started time in 2 months

startedyoyo930021/vc2c

started time in 2 months

issue commentvisjs/vis-timeline

Custom styling of brackground grid (.vis-odd not applied properly)

I don't have a repo ready to reproduce, but I did run into something similar for .vis-today where at a certain zoom level, it would highlight today and the previous day as well.

knokit

comment created time in 2 months

startedposva/pinia

started time in 2 months

PR opened visjs/vis-timeline

update typings for some missing Timeline options

This updates the TypeScript definition file to add some missing options and restrict some string options to their available options.

Fixes: https://github.com/visjs/vis-timeline/issues/216

+17 -4

0 comment

1 changed file

pr created time in 2 months

create barnchAsync0x42/vis-timeline

branch : typings-update

created branch time in 2 months

pull request commentvisjs/vis-timeline

fix: updated hammerjs to 2.0.16 to include shadom-dom fix (visjs#116)

Hmm, I went over all my dep updates one by one and it turned out it is the hammerjs update that's breaking vis-timeline in IE/Edge for me. If I revert it to 2.0.15 then there are no issues.

Specifically, expanding nested groups does not work, as well as selection events.

It won't load in IE, but since it's broken in Edge as well, you can even see the issue with the published examples if you open it up in Edge (non-chrome version): https://visjs.github.io/vis-timeline/examples/timeline/groups/nestedThreeLevels.html -> collapsing/expanding the nodes doesn't work, selecting items doesn't work

mpilone

comment created time in 2 months

pull request commentvisjs/vis-timeline

fix: updated hammerjs to 2.0.16 to include shadom-dom fix (visjs#116)

This seems to break IE support for me, has anyone experienced that as well?

mpilone

comment created time in 2 months

startednaver/hammer.js

started time in 2 months

fork Async0x42/vis-timeline

📈 Create a fully customizable, interactive timelines and 2d-graphs with items and ranges.

https://visjs.github.io/vis-timeline/

fork in 2 months

startedkrzkaczor/ts-essentials

started time in 2 months

startednecr0potenc3/UO_Clients

started time in 2 months

startedcoruja747/UOClients

started time in 2 months

issue commentvisjs/vis-timeline

Option to show the scroll bar at the right side of the timeline

After I did this, there's a gap where the scrollbar was removed. Were you able to get rid of the blank gap between the left panel and right?

Yes @Async0x42, I ran into the same issue. After initializing the timeline I needed to run this function to remove the blank gap:

  ...
  //options 
 timelineOptions['onInitialDrawComplete'] = () => {
    updateScrollMargin();
  ...

   timeline = new vis.Timeline(timelineContainer, itemsView, groupsView, timelineOptions);

  ...

  const updateScrollMargin = (removeMargins = false) => {
    let left = $('.vis-panel.vis-left');
    let center = $('.vis-panel.vis-center');
    let vertical = $('.vis-panel.vis-vertical');
    let top = $('.vis-panel.vis-top');
    let right = $('.vis-panel.vis-right');
    let scrollMargin = center.offset().left - (left.offset().left + left.width());

    let elementsToUpdate = [center, vertical, top, right];

    if (removeMargins) {
      elementsToUpdate.forEach((el) => el.css('margin-left', 0));
      return;
    }

    if (scrollMargin >= 1) {
      elementsToUpdate.forEach((el) => el.css('margin-left', '-' + scrollMargin + 'px'))
    }
  };

This is working wonderfully. I had to call updateScrollMargin on each timeline 'changed' event to get it to work, since not all groups were expanded on load.

The only issue is that the mouseWheel is extremely slow for vertical scrolling after this change, did that affect you? (and do you have a fix offhand?). If not, I'll dig into it to resolve the issue so we can post a comprehensive method of changing the scrollbar to the right.

victor0402

comment created time in 3 months

issue commentvisjs/vis-timeline

Option to show the scroll bar at the right side of the timeline

Thanks @yotamberk For now, I'm dynamically changing the vis-right height based on the vis-left height, and using some css to hide the scrollbar at the left side. It's working, but it's not so easy to achieve.

  let contentHeight = $('.vis-panel.vis-left > .vis-content').height();
  $('.vis-right>.vis-content').css('height', contentHeight);

and

  .vis-panel.vis-right {
    border: 0;
    width: auto;
    overflow-x: hidden;
    overflow-y: scroll;
  }
  .vis-panel.vis-left {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */

    &::-webkit-scrollbar { /* WebKit */
      display: none;
      width: 0;
      height: 0;
    }
  }

After I did this, there's a gap where the scrollbar was removed.

Were you able to get rid of the blank gap between the left panel and right?

victor0402

comment created time in 4 months

issue openedvisjs/vis-timeline

Bug: 'Cannot redraw item: no parent attached' if cluster exists when nested groups are expanded

If clusters would be drawn when expanding a nested group, it throws the following error:

Error:

ClusterItem.js:462 Uncaught Error: Cannot redraw item: no parent attached
    at e.value (ClusterItem.js:462)
    at Group.js:1110
    at Object.forEach (esm.js:5481)
    at t.value (Group.js:1109)
    at t.value (Group.js:403)
    at Array.<anonymous> (Group.js:517)
    at ItemSet.js:840
    at Object.forEach (esm.js:5481)
    at i (ItemSet.js:839)
    at ItemSet.js:838

The error only occurs if the clusters would exist on expanding the group. In other projects, if you're zoomed in and no clusters would be made, expand the group, then zoom out, no errors happen.

Example (based off official docs for nested groups): (open dev tools and attempt to expand a group): https://jsbin.com/qucozujemu/2

created time in 4 months

fork Async0x42/vis-timeline

📈 Create a fully customizable, interactive timelines and 2d-graphs with items and ranges.

https://visjs.github.io/vis-timeline/

fork in 4 months

startedvuejs/vue-next

started time in 5 months

fork Async0x42/vue2vis

A Vuejs 2 adapter for Visjs

fork in 5 months

startedSteveCurran/vscode-spremoteapi

started time in 5 months

fork Async0x42/SpRestLib

JavaScript SharePoint REST Web Services Library

https://gitbrent.github.io/SpRestLib/

fork in 5 months

startedcristijora/vue-tabs

started time in 5 months

more