primordic/IssueDupesLite huggingface dataset:
Repository: c3js/c3

Issue #2303: Performance issues with c3js
Created: 2018-02-27T14:59:17Z
I'm currently struggling with the poor performance of c3js as others do and there is a lot of reasons for that.


displaying a single line chart (from simple.html) calls  getBoundingClientRect 99 times which has a significant cost ( #1645 )


displaying a single line chart will also append and remove from DOM a dummy (to mesure font size) a dozen times per chart (probably because we call updateSizes N times per display)


it creates and resizes absolutely everything, although there is a single line chart it also create, append and resize the nodes for regions, arcs, titles, grid, the Y2 axis and the X axis for subchart (#1591)


each axis is created up to 5 times at render time, meaning for our line chart with 2 real axes we create in reality (with uncached sizing since it's a new instance etc.) 20 axes because we call updateScales/updateSizes multiple times at render time:

initWithData -> redraw -> updateDimension -> updateScales
initWithData -> updateDimension -> updateScales
initWithData -> initLegend -> updateLegendWithDefaults -> updateLegend -> updateScales
initWithData -> initLegend -> updateLegendWithDefaults -> updateLegend -> updateSizes
initWithData -> updateScales



Basically the browser is taking all its time to modify dom, force relayout, mesure values, modify dom, force relayout, etc.. hundreds of times. (#1067)
There was attempt to cache values with withoutCompute for some parts but more often than not this is not used because the boolean is not passed.
I started trying to opt-out from unused stuff (starting with axes) and I could reduce the 99 calls to getBoundingClientRect to 28 which feels much better on big dashboards but I'm not 100% familiar with the code stack so I can't be sure I'm not breaking some edge cases here and there.
Is there anyone with some knowledge of the code stack that would be interested in trying to improve the performance? Is it worth it to try and do thing nicely and create PRs to this repository?

Duplicate issue #2445: seemingly unnecessary call to updateDimension in redraw
Created: 2018-08-06T19:14:02Z
C3 version: 0.6.2
D3 version: ^5.0.0

Hi all, while I was working on performance, I noticed in certain code path in c3 updateDimension is called multiple times when initializing the chart. For example, initWithData calls updateDimension right before redraw and redraw calls updateDimension again. I tried to pass 'withDimension: false' flag to redraw and noticed some performance improvements without any issue. I am wondering if there are any edge case that I am not aware of here? If not, then I'd like to raise a PR for address this.
thanks

Closing comment (2018-08-07T02:03:50Z): probably related to #2303
cc @panthony
Repository: c3js/c3

Issue #2305: Bar char drops an arbitrary data series when x value is falsy (null, undefined, empty string)
Created: 2018-03-12T14:43:39Z
C3 version: 0.4.20
Browser: Chrome 4.0.3282.186
OS: MacOS High Sierra 10.13.3
When using bar chart with Json data format, if one of the Json data object does not have the x attribute defined, the bar chart will arbitrarily drop a data series (the one missing the x value is actually rendered as having x-value "null")
Sample chart configuration:
var chart = c3.generate({
    data: {
        json: [
            {name: 'data1',value: 200},
            {value: 100},
            {name: 'data3', value: 300},
            {name: 'data4', value: 400},
        ],

    keys: {
            x: 'name', 
            value: ['value'],
        },
        type: 'bar'
    },
    axis: {
        x: {
            type: 'category'
        }
    }
});

Duplicate issue #2305: Bar char drops an arbitrary data series when x value is falsy (null, undefined, empty string)
Created: 2018-03-12T14:43:39Z
C3 version: 0.4.20
Browser: Chrome 4.0.3282.186
OS: MacOS High Sierra 10.13.3
When using bar chart with Json data format, if one of the Json data object does not have the x attribute defined, the bar chart will arbitrarily drop a data series (the one missing the x value is actually rendered as having x-value "null")
Sample chart configuration:
var chart = c3.generate({
    data: {
        json: [
            {name: 'data1',value: 200},
            {value: 100},
            {name: 'data3', value: 300},
            {name: 'data4', value: 400},
        ],

    keys: {
            x: 'name', 
            value: ['value'],
        },
        type: 'bar'
    },
    axis: {
        x: {
            type: 'category'
        }
    }
});

Closing comment (2019-08-09T14:13:31Z): This is actually a duplicate of #2305.
When building the values for the category serie, all falsy values are filtered thus the indices between the category and the values does not correspond anymore.
Repository: c3js/c3

Issue #1648: D3 4.0 compatibility
Created: 2016-04-11T22:40:04Z
Is there compatibility with D3 4.0?

Duplicate issue #1883: Doesn't work with D3 v4.
Created: 2016-11-15T02:05:03Z
If link to v4 of D3 with
<script src="https://d3js.org/d3.v4.min.js"></script>
get an error and no graphs displayed for Getting started sample.
Safari 10.0.1 on OSX 10.11.6 error message:
generateColor — c3.min.js:4:24593
TypeError: undefined is not an object (evaluating 'c.scale.category10')

Firefox 49.0.2:
TypeError: c.scale is undefined
i.generateColor()   c3.min.js:4
i.initParams()      c3.min.js:1
i.init()            c3.min.js:1
d()                 c3.min.js:1
k.generate()        c3.min.js:1
<anonymous>         index.html:12

Closing comment (2016-11-15T15:04:13Z): Hi @pyotr777, just wanted to give you a heads up that this is a known issue and work is being done to make it compatible with D3 v4. Closing as a duplicate of #1648
Repository: c3js/c3

Issue #1078: overlapping ticks
Created: 2015-03-24T15:34:06Z
Hello,
Ticks are overlapping.
http://jsfiddle.net/g5ffhumj/

Duplicate issue #2677: x axis ticks text overlapping
Created: 2019-08-12T10:58:48Z
I'm using c3js for stack chart and I have also configure multiline but if words are long then its  overlapping to others x axis ticks label.
axis: {
x: {
tick: {
type: 'category',
culling: false,
fit: true,
multiline: true,
multilineMax: 2
}
}
I have tried to add padding, margin but its does not work because ticks are svg tspan element.

Closing comment (2019-08-12T15:19:28Z): Closing this issue as duplicate of #1078
Repository: cadence-workflow/cadence

Issue #2651: Ability to update workflow config, including cron schedule, retry policy, etc
Created: 2019-10-10T17:41:58Z
This issue aims to track the progress of updating the workflow config, including but not limited to cron schedule, retry policy.
Background:
Customer needs the functionality to update the cron schedule of workflow without workflow termination & start a new workflow with updated cron schedule.
Possible solution:
Adding a new event type containing all possible attributes which can be updated for a workflow (excluding activity, child workflow etc.).
Adding a new event will making the support of Cross DC simple.

Duplicate issue #2071: Add server API to update an activity/workflow retry policy
Created: 2019-06-20T00:08:00Z
In some cases an activity or a workflow that is being retried has misconfigured retry policy.
It would be useful to be able to update it while activity is in retry loop.
For example the maximumRetryInterval is set to 1 day, but underlying issue is already fixed and we don't want to wait for the retry to happen in 20 hours.
Through this new management API it should be possible to force immediate retry.

Closing comment (2019-10-11T07:57:33Z): dup of #2651 #2652
Repository: cadence-workflow/cadence

Issue #2343: Create default domain for development docker image
Created: 2019-08-05T17:59:22Z
Setting up a domain is an additional concept which is not needed for the majority of the customers which are just starting with Cadence.
I would propose creating "default" domain automatically and change all samples to use it.
I would also support domain creation as a docker image argument (or may be the schema setup argument?) even for single tenant production deployments.

Duplicate issue #1622: Add an initial cadence domain in the Docker image
Created: 2019-03-29T21:25:12Z
IMHO Cadence domain is analogue of a database. Most official database images offer an option (usually an environment variable) to create a domain when the container is first started. This is mostly useful in development environments to avoid manual steps in the quick setup guide.
Something similar would be nice in case of Cadence as well.
Currently the only problem I see is there is no state in the container (which is not a problem per se), but there is no way to track whether the domain is created or not, other than in the cassandra database of course. However, there is no "ensure" option in the cadence CLI. So if the domain creation fails, where is no way to tell if it is because the domain already exists or for some other reason.
A possible solution would be adding an "ensure" command in the cadence CLI that creates the domain in an idempotent way (if necessary).

Closing comment (2020-03-01T16:32:24Z): Duplicate of #2343
Repository: cadence-workflow/cadence

Issue #2473: Return scalable tasklist metadata in DescribeTaskList API
Created: 2019-08-28T22:45:47Z
With feature scalable tasklist, the DescribeTaskList API should return the write partition, read partition from the API

Duplicate issue #52: Matching Service: Partitioned TaskList for higher throughput
Created: 2017-03-06T03:04:22Z

Closing comment (2019-10-10T17:56:47Z): core functionality is implemented and rolled out
remaining issue is tracked in #2473 #2483
Repository: cadence-workflow/cadence

Issue #4105: Docker build error
Created: 2021-04-03T01:52:44Z
In current latest master, run
docker build . -t qlong-test --build-arg TARGET=auto-setup 

will get this error
....
....
...
touch .bin/protoc-3.14.0 .bin/protoc-gen-gogofast .bin/protoc-gen-yarpc-go
touch .build/protoc
touch .bin/thriftrw .bin/thriftrw-plugin-yarpc
touch
BusyBox v1.31.1 () multi-call binary.

Usage: touch [-c] [-d DATE] [-t DATE] [-r FILE] FILE...

Update the last-modified date on the given FILE[s]

	-c	Don't create files
	-h	Don't follow links
	-d DT	Date/time to use
	-t DT	Date/time to use
	-r FILE	Use FILE's date/time
make: *** [Makefile:255: .fake-thrift] Error 1
The command '/bin/sh -c make .fake-codegen' returned a non-zero code: 2

Duplicate issue #4110: Make bins error on latest master
Created: 2021-04-04T22:10:15Z
qlong@~/cadence:$sudo make cadence-server
Password:
thriftrw for idls/thrift/matching.thrift...
/bin/sh: .bin/thriftrw: Permission denied
make: *** [.build/matching.thrift] Error 126

qlong@~/cadence:$make cadence
thriftrw for idls/thrift/matching.thrift...
/bin/sh: .bin/thriftrw: Permission denied
make: *** [.build/matching.thrift] Error 126

qlong@~/cadence:$make bins
thriftrw for idls/thrift/matching.thrift...
/bin/sh: .bin/thriftrw: Permission denied
make: *** [.build/matching.thrift] Error 126

Closing comment (2021-04-04T22:16:08Z): Seems like it's related to #4105
after executed
 git submodule update --init --recursive
Repository: cadence-workflow/cadence

Issue #3431: Sleep/Halt functionality in Activity level
Created: 2020-08-04T10:16:03Z
I have been trying to find out someway some way to provide some sleep to the activities.
let's say there are three activities, Activity A,B and C. When A is executed successfully, then I want to provide a halt of 30 minutes. Then start the process for B and after completion of B, C will start executing and in between the Activity of C, I want to provide some sleep functionality in C. And lastly C will be completed.
In short, I want to provide sleep/halt functionality in Activity level.
Is it possible anyway? Please suggest something.

Duplicate issue #3430: Regarding Duration Handling in Activity
Created: 2020-08-04T10:14:24Z
I have been trying to find out someway some way to provide some sleep to the activities.
let's say there are three activities, Activity A,B and C. When A is executed successfully, then I want to provide a halt of 30 minutes. Then start the process for B and after completion of B, C will start executing and in between the Activity of C, I want to provide some sleep functionality in C. And lastly C will be completed.
In short, I want to provide sleep/halt functionality in Activity level.
Is it possible anyway? Please suggest something.

Closing comment (2020-08-06T19:31:25Z): closed as duplicate #3431
Repository: cadence-workflow/cadence

Issue #2651: Ability to update workflow config, including cron schedule, retry policy, etc
Created: 2019-10-10T17:41:58Z
This issue aims to track the progress of updating the workflow config, including but not limited to cron schedule, retry policy.
Background:
Customer needs the functionality to update the cron schedule of workflow without workflow termination & start a new workflow with updated cron schedule.
Possible solution:
Adding a new event type containing all possible attributes which can be updated for a workflow (excluding activity, child workflow etc.).
Adding a new event will making the support of Cross DC simple.

Duplicate issue #2622: Add support to update cron schedule on workflow
Created: 2019-10-01T00:28:45Z
Currently, if a customer wants to update the cron schedule on a workflow, they have to terminate and start the workflow with the new cron schedule. We should support this use case and allow customers to update the cron schedule without terminating it.

Closing comment (2019-10-10T17:54:06Z): dup of #2651
Repository: cadence-workflow/cadence

Issue #313: History Engine: EntityNotExists errors from persistence layer are reported as error logs
Created: 2017-08-12T23:00:03Z
Cadence service logs are spammed with EntityNotExists error logs from persistence layer.  They are also being reported with log level 'error'.  Most of the times these are benign errors are should not be logged with error logs.  We need to convert this to a metric and remove the error log.

Duplicate issue #305: noisy error logging
Created: 2017-08-08T21:37:17Z
Seeing this error a lot which is pretty noisy. We might want to suppress this error if we think this could happen in normal case and does not indicate an error (for example during handling the timeout task while the workflow execution is already completed):
time="2017-08-08T14:04:50-07:00" level=error msg="helpers.go:38 Persistent store operation failure. Operation Details: " Service=cadence-history deployment-name= execution-id="a8df7e9f-0dc3-45f3-a3da-1be0c67619a9_9971" run-id=445ea712-075b-4945-a235-77e1a4c80f13 shard-id=1 store-operation=get-wf-execution wf-component=history-cache wf-error="EntityNotExistsError({Message:Workflow execution not found.  WorkflowId: a8df7e9f-0dc3-45f3-a3da-1be0c67619a9_9971, RunId: 445ea712-075b-4945-a235-77e1a4c80f13})" wf-event-id=2010

Closing comment (2017-08-22T20:46:42Z): Duplicate #313
Repository: cadence-workflow/cadence

Issue #1524: CLI: support restart failed workflow
Created: 2019-03-12T20:42:29Z
Currently, if user wants to restart a failed workflow (with same workflowID and input), user has to copy wid and input then use CLI startWorkflow.
It might be useful to add a restart command as a shortcut: given failed workflowID, auto fetch input and start the workflow.

Duplicate issue #620: recover from non-deterministic error
Created: 2018-03-20T00:27:13Z
Multiple steps:

Be able to restart from begining.
Be able to restart from point in history.
Be able to detect the last good point in history and restart from that point.

Closing comment (2019-04-01T17:19:32Z): same as #1524
Repository: cadence-workflow/cadence

Issue #2018: Add support for TLS into tChannel
Created: 2019-06-13T17:34:38Z
According to @prashantv  tChannel can be extended to support custom net.Dialer. It already supports custom net.Listener.
Cadence then could use tls.Dial and tls.Listen to implement those. See this article for Go TLS overview.

Duplicate issue #2538: [Feature] Support TLS + authentication
Created: 2019-09-13T13:39:04Z
Currently I see no way to add authentication between the cadence server and cadence clients.
Would mutual TLS be an option here?

Closing comment (2019-09-13T15:54:14Z): Duplicate of #2018
Repository: cadence-workflow/cadence

Issue #964: Cross DC - Generation Of Replication Task Should Take Buffered Events In Consideration
Created: 2018-07-14T00:17:24Z
Currently, if new events are generated on the active side into buffer, then active cluster is still generating replication task, which is essentially a duplicate.

Duplicate issue #943: Cross DC - Investigate Why Stale Replication Task Metrics Is Not Mostly Zero
Created: 2018-07-09T21:11:34Z

Closing comment (2018-07-16T18:25:39Z): Probably related to #964.  Let's keep it active until #964 is fixed and then resolve if not stale replication tasks counter incremented.
Repository: cake-build/cake

Issue #511: Decide on approach for NuGet and Chocolatey Pack
Created: 2015-11-09T22:15:24Z
Currently, the strategy that is used for creating NuGet and Chocolatey Packages is to store the nuspec file in source control.  Then, within build.cake, the NuGetPack and ChocolateyPack commands are used, to provide additional information, like version, releasenotes, files, etc.
However, the nuspec file is not actually required, as NuGetPack and ChocolateyPack can both create temp files, which are then used to do the actual creation of the nupkg's.
The first approach means some duplication of properties, like Copyright, Owners, etc, which could be made into consts within the build.cake file.
We need to make a decision about how to move forward with this.

Duplicate issue #163: Remove need for a nuspec file
Created: 2015-01-28T04:59:18Z
Since @devlead added support for adding files to a nuget package programmatically (see commit) there really isn't a need to provide att nuspec file since all (afaik) attributes of a nuspec file is supported via code.
NuGetPack(new NuGetPackSettings 
{
    Id = "Cake.Core",
    Name = "Cake.Core",
    Authors = "patriksvensson",
    Owners = "patriksvensson",
    Description = "The Cake core library.",
    Version = semVersion,
    ReleaseNotes = releaseNotes.Notes.ToArray(),
    BasePath = binDir,
    OutputDirectory = nugetRoot,
    NoPackageAnalysis = true,
    Files = new[] 
    {
        new NuSpecContent { Source = "Cake.Core.dll", Target = "lib/net45" },
        new NuSpecContent { Source = "Cake.Core.xml", Target = "lib/net45" },
        new NuSpecContent { Source = "Cake.Core.pdb", Target = "lib/net45" },
    }
});
Of course, there should still be possible to provide a nuspec file if the user wants to.

Closing comment (2016-01-10T16:11:08Z): @patriksvensson this is marked as a feature, but is there anything that needs to be done here?  Or is this related to: #511.
If the latter, I think we can close out one of these.  Thoughts?
Repository: cake-build/cake

Issue #598: XmlPeek alias
Created: 2015-12-18T14:11:23Z
It would be very useful to have an XmlAlias that could return a string value using xpath similar to how XmlPoke works but without actually replacing the value with anything.

Duplicate issue #642: Add XMLPeek support
Created: 2016-01-16T21:45:58Z

Closing comment (2016-01-16T21:48:33Z): Isn't this same as #598
Repository: cake-build/cake

Issue #1815: Exception Message should be shown rather than "One or more errors occurred."
Created: 2017-09-20T18:23:18Z
What You Are Seeing?
Exception messages are not displayed. Instead "One or more errors occurred." is shown as the error message.
What is Expected?
When an exception is thrown with a specific error message, I would expect to see that that text in the console output.
What version of Cake are you using?
Version 0.22.2+Branch.main.Sha.c8630875bc14ce11aa758e0dcd55f691da5f602b
Are you running on a 32 or 64 bit system?
64 bit Windows
What environment are you running on?  Windows? Linux? Mac?
64 bit Windows
Are you running on a CI Server?  If so, which one?
No. Command line
How Did You Get This To Happen? (Steps to Reproduce)

test.cake:

Task("Default")
  .Does(() =>
{
  throw new Exception("Foo");
});

RunTarget("Default");



Run cake: Cake test.cake


Output:


========================================
Default
========================================
An error occurred when executing task 'Default'.
Error: One or more errors occurred.

Duplicate issue #1851: Enumerate errors so we don't get "Error: One or more errors occurred."
Created: 2017-10-01T17:11:11Z
What You Are Seeing?
When an exception occurs I get the message: Error: One or more errors occurred.
What is Expected?
A more detailed exception message or messages. I realise setting the verbosity to "diagnostic" gives me all this and more, but a little more detail than "One or more errors occurred." would be much better (even if it doesn't include the full stack trace, the underlying exception message(s) would be good).
What version of Cake are you using?
v0.22.2
Are you running on a 32 or 64 bit system?
64 bit
What environment are you running on?  Windows? Linux? Mac?
Windows
Are you running on a CI Server?  If so, which one?
This error occurs both at a poweshell prompt and on a CI server (Team City)
How Did You Get This To Happen? (Steps to Reproduce)
A simple way to do this (but most anything that causes an error really) is to run the build specifying a build target that does not exist. e.g.
Task("build")
    .Does(()=>
{
  Information("All done!");
});

var target = Argument("target", "build");
Information("Running "+target);
RunTarget(target);

Now run this with bootstrap PowerShell script from the example (which explicitly sets the target to "Default") and the output is:
PS C:\dev\myapp> .\build.ps1
Preparing to run build script...
Running build script...
Analyzing build script...
Processing build script...
Compiling build script...
Running Default
Error: One or more errors occurred.

Output Log
Not relevant. The issue is what is output when the diagnostic switch is turned off.

Closing comment (2017-10-01T17:15:51Z): Hi, thanks for reporting @colinangusmackay.
This is a duplicate of #1815 , fixed by #1824 which will be shipped when the next release of Cake.
Repository: cake-build/cake

Issue #1480: ProcessRunner needs Redirect Standard Input
Created: 2017-01-27T20:00:04Z
This might seem like a bit of an unusual request, but ProcessRunner needs to implement the ability to redirect stdin.  So, IProcess needs a StreamWriter StandardInput { get; }, and ProcessSettings needs a bool RedirectStandardInput { get;set; }.
The use case is developing an addin for Android's sdkmanager utility.  Unfortunately they don't provide a command line argument to accept the license agreement, so we have to pipe in y\r\n to stdin in order to accept the license during the process being run.
I've worked around this in my addin by basically subclassing Tool and creating my own RunProcess method which returns an object with a reference to the stdin stream.  Because of the way some members are marked private, I pretty much had to reimplement the whole class (fetching the toolpath, etc).

Duplicate issue #2271: Allow to redirect standard input of a process
Created: 2018-09-05T11:53:57Z
Suggested modifications:
public sealed class ProcessSettings
{
    ...
    public bool RedirectStandardInput { get; set; }
}

public interface IProcess
{
    ...
   System.IO.StreamWriter GetStandardInput();
}

Referencing gitter discussion:
https://gitter.im/cake-build/cake?at=5b8fc27c1d3a5711b6ea156f
https://gitter.im/cake-build/cake?at=5b8fc39ad8d36815e5dcfa1d

Closing comment (2021-02-05T22:34:52Z): Thanks @jnm2
Closing as duplicate of #1480
Repository: cake-build/cake

Issue #1815: Exception Message should be shown rather than "One or more errors occurred."
Created: 2017-09-20T18:23:18Z
What You Are Seeing?
Exception messages are not displayed. Instead "One or more errors occurred." is shown as the error message.
What is Expected?
When an exception is thrown with a specific error message, I would expect to see that that text in the console output.
What version of Cake are you using?
Version 0.22.2+Branch.main.Sha.c8630875bc14ce11aa758e0dcd55f691da5f602b
Are you running on a 32 or 64 bit system?
64 bit Windows
What environment are you running on?  Windows? Linux? Mac?
64 bit Windows
Are you running on a CI Server?  If so, which one?
No. Command line
How Did You Get This To Happen? (Steps to Reproduce)

test.cake:

Task("Default")
  .Does(() =>
{
  throw new Exception("Foo");
});

RunTarget("Default");



Run cake: Cake test.cake


Output:


========================================
Default
========================================
An error occurred when executing task 'Default'.
Error: One or more errors occurred.

Duplicate issue #1822: Regression Error: One or more errors occurred.
Created: 2017-09-22T12:19:16Z
Cake no longer prints exception message in 0.22.x
now seem to print : Error: One or more errors occurred.
Exception message would be more helpful

Closing comment (2017-09-22T12:24:27Z): seem to be related to #1815
Repository: cake-build/cake

Issue #2872: Bump eol target frameworks
Created: 2020-10-03T04:23:27Z
The following warnings are seen while building Cake with Visual Studio 2019 Preview and the latest SDK:
C:\Program Files\dotnet\sdk\5.0.100-rc.1.20452.10\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
C:\Program Files\dotnet\sdk\5.0.100-rc.1.20452.10\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp3.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.

See .NET Core and .NET 5 Support Policy for more information.
I suggest bumping the following target frameworks:

netcoreapp2.0 to netcoreapp2.1
netcoreapp3.0 to netcoreapp3.1
net46 to net461 (currently inconsistent)

Duplicate issue #3098: Drop netcoreapp3.0 target in Cake
Created: 2021-02-08T07:06:40Z
Spin-off of #3081 which adds netcoreapp3.1 to Cake.
netcoreapp3.0 is no longer supported. netcoreapp3.1 is LTS.

https://dotnet.microsoft.com/download/dotnet-core

Closing comment (2021-02-13T16:45:49Z): Closing as duplicate of #2872
Repository: cake-build/cake

Issue #40: Add friendly name to tasks
Created: 2014-06-23T08:03:17Z
The friendly name should be used when printing the task name in the output or presenting the task in the report.
Task("Unit-Tests")
    .HasFriendlyName("Run unit tests")
    .IsDependentOn("Build")
    .Does(() =>
{
    // Run unit tests.
    XUnit("./src/**/bin/" + configuration + "/*.Tests.dll");
});

Duplicate issue #28: Add method to describe tasks
Created: 2014-06-13T14:58:50Z
Add option to add a description to a task.
Task("Magic")
   .HasDescription("Performs magic")
   .Does(() =>
{
   DoMagic();
});
When starting Cake with the -showtasks parameter, the following output should be shown.
Tasks         Description
===============================
Magic         Performs magic

Closing comment (2014-06-25T10:12:48Z): Kind of similar to #40?
Repository: cake-build/cake

Issue #260: Add support for moving directories
Created: 2015-06-02T13:54:11Z
I think the API should follow that for moving files.

MoveDirectoryToDirectory(directoryPath, targetDirectoryPath) - Moves an existing directory to a new location (e.g. Move "build/project" to "package" results in "build/" and "package/project"). Target location must exist but full path to target location (once combined with directoryPath) must not.
MoveDirectories(pattern, targetDirectoryPath)  - Moves existing directories matching the specified patern to a new location. Actual move implementation as MoveDirectoryToDirectory.
MoveDirectories(directoryPaths, targetDirectoryPath) - Moves existing directories to a new location. Actual move implementation as MoveDirectoryToDirectory.
MoveDirectory(directoryPath, targetDirectoryPath) - Moves an existing directory to a new location, providing the option to specify a new directory name. Target location must not exist. (e.g. Move "build/project" to "package" results in "build/" and "package/" if "package" did not already exist and an error if it did, whereas move "build/project" to "package/project" results in "build/" and "package/project").

I think the MoveDirectory API should only work for directories on the same volume. Alternatively, if we determine the targetDirectoryPath is on a different volume (not sure if there is an existing method for this?) then we could implement a method to create a new directory on the the target volume, move the files within that directory, recursively apply for any sub-directories, and then delete the source directory.

Duplicate issue #1300: MoveDirectory alias
Created: 2016-10-19T18:45:31Z
There's several MoveFile/MoveFiles aliases which work great for moving and renaming files but no equivalent for directories. I propose a MoveDirectory alias that will move/rename a directory.

Closing comment (2016-10-19T18:47:56Z): @daveaglick is this a duplicate? #260
Repository: callstack/react-native-slider

Issue #98: Remove space before and after the slider bar
Created: 2019-08-20T12:30:03Z
When a new Slideer is created, it is created inside a view and I can see an space before and after the slider (just set backgroundColor='red' on the style)
This is quite annoying in order to make it if with other components as the slider is always a bit smaller
Is this done in purpose? Can those spaces (padding or margin) be removed and make the bar use 100%
I tried setting the padding, margin, left, right to 0, but nothing...

Duplicate issue #258: Extra padding on android and ios ,
Created: 2021-01-19T08:19:36Z
Environment
System:
OS: macOS 10.15.6
CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Memory: 57.86 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 15.2.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 28, 30
Build Tools: 28.0.3, 30.0.3
System Images: android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.6953283
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_275 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.9.0 => 16.9.0
react-native: ^0.63.2 => 0.63.4
react-native-macos: N

Reproducible Demo

Closing comment (2023-01-19T14:46:16Z): This issue is a duplicate of #98. Please track the progress in original issue.
Repository: callstack/react-native-slider

Issue #605: Render custom component above thumb
Created: 2024-06-09T10:19:53Z
Ask your Question
i have requirement to render custom component with dynamic value above the thumb like this

I took a look at the code and there is no way for now to render custom component/element above the thumb.
maybe we can do something like this?
export const SliderTrackMark = ({
  isTrue,
  thumbImage,
  StepMarker,
+ index
+ renderAboveThumbComponent
}: TrackMarksProps) => {
  return (
    <View style={styles.trackMarkContainer}>
      {StepMarker ? <StepMarker stepMarked={isTrue} /> : null}
      {thumbImage && isTrue ? (
        <>
+           {renderAboveThumbComponent(index)}
            <View style={styles.thumbImageContainer}>
              <Image source={thumbImage} style={styles.thumbImage} />
            </View>
        </>
      ) : null}
    </View>
  );
};

API name inspired by https://github.com/miblanchard/react-native-slider/blob/cb80d87c7f80f27856613e18459c80c70d638df7/README.md?plain=1#L88
maybe one consideration, from windows example
there is already a box with step value rendered above the thumb.

is it gonna be a conflict if we implement this?
or is there a better way to handle this case?

Duplicate issue #623: Add renderAboveThumbComponent 
Created: 2024-08-22T08:09:22Z
Describe the Feature

Add renderAboveThumbComponent rect above thumb when it is in pan.  Feature should be like in main image in https://github.com/miblanchard/react-native-slider?tab=readme-ov-file
Possible Implementations

If renderAboveThumbComponent is set then it is shown when thumb is panned(dragged).
<Slider 
renderAboveThumbComponent = {()=><Image src={src} />}
/>
Related Issues

Closing comment (2024-09-11T19:39:46Z): Hello @KKKaisar!
I see this is a duplicate of #605, so let me close this one.
Thank you!
Repository: callstack/react-native-slider

Issue #296: Augment the hitSlop or prevent parent gesture listener to react around slider 
Created: 2021-08-02T16:27:45Z
I'm using a slider within a swiper and it's quite hard to slide the slider without triggering the swiper.
How could I improve that situation ?
Is there some kind of hitSlop prop equivalent on the slider?
If not, how could I workaround this problem?

Duplicate issue #298: Android Only: Slider inside a ScrollView
Created: 2021-08-07T23:13:52Z
Environment

Description
Slider doesn't work when embedded inside a ScrollView. No issues on iOS but on Android only taps respond.
Reproducible Demo
import React from 'react';
import type {Node} from 'react';
import {
  SafeAreaView,
  ScrollView,
  View,
  Dimensions
} from 'react-native';
import Slider from '@react-native-community/slider';

const Volume = ({children, title}): Node => {
  return (
    <Slider
    style={{width: 200, height: 40}}
    minimumValue={0}
    maximumValue={1}
    minimumTrackTintColor="#FFFFFF"
    maximumTrackTintColor="#000000"
  />
  );
};

const App: () => Node = () => {
  const width = Dimensions.get('window').width;
  const slideStyle = { width, justifyContent: 'center', alignItems: 'center'}
  return (
    <SafeAreaView style={{ flex: 1 } }>
      <ScrollView horizontal pagingEnabled removeClippedSubviews={false}>
        <View style={{backgroundColor: 'red', ...slideStyle}}><Volume /></View>
        <View style={{backgroundColor: 'blue', width, ...slideStyle}}><Volume /></View>
        <View style={{backgroundColor: 'green', width, ...slideStyle}}><Volume /></View>
      </ScrollView>
    </SafeAreaView>
  );
};

export default App;

Closing comment (2021-08-20T11:20:46Z): This is the same issue as reported in #296.
I will close this one as a duplicate.
Repository: callstack/react-native-slider

Issue #40: Add thumbStyle & trackStyle
Created: 2019-04-18T00:18:30Z
Describe the Feature
Add support for thumbStyle to allow customizing the thumb shape, colour and size. Relying on an image per style can be quite limiting for simple changes. If implemented, this could make thumbTintColor obsolete.

Duplicate issue #585: trackStyle and thumbStyle
Created: 2024-03-21T06:56:17Z
Please add trackStyle and thumbStyle so that we can control the style of track and thumb

Closing comment (2024-03-26T19:21:36Z): Dears!
Let me close this as a duplicate of #40.
Repository: callstack/react-native-slider

Issue #346: ThumbImage work in Android but not in iOS
Created: 2021-12-16T06:29:50Z
Environment

Binaries:
Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 8.3.0 - ~\AppData\Roaming\npm\npm.CMD
Watchman: Not Found
Description

The slider's ThumbImage works fine in Android, but no show in iOS.
BTW, thumbTouchSize does not work both in Android and iOS.
Reproducible Demo

<Slider
style={{
width:'100%',
height:150,
backgroundColor:"transparent",
justifyContent: "flex-start",
}}
thumbImage={require('../icon/bright1.png')}
thumbTintColor={'black'}
minimumValue={0}
maximumValue={1}
thumbTouchSize={{width: 200, height: 200}}
value={0.65}
onValueChange={(value) => setLight(value)}
minimumTrackTintColor={'white'}
maximumTrackTintColor={'white'}
/>

Duplicate issue #478: Image not rendering on slider
Created: 2023-01-09T08:28:06Z
Ask your Question
Why does the image prop not work?

Closing comment (2023-01-13T11:10:41Z): Any update @BartoszKlonowski?

I believe this is a duplicate of #346 when it comes to mobile platform.
But when it comes to Web implementation - I'll be happy to see your repro example and more details of this issue (versions you're using, scenario, etc).
Repository: callstack/react-native-slider

Issue #98: Remove space before and after the slider bar
Created: 2019-08-20T12:30:03Z
When a new Slideer is created, it is created inside a view and I can see an space before and after the slider (just set backgroundColor='red' on the style)
This is quite annoying in order to make it if with other components as the slider is always a bit smaller
Is this done in purpose? Can those spaces (padding or margin) be removed and make the bar use 100%
I tried setting the padding, margin, left, right to 0, but nothing...

Duplicate issue #634: Android multiple issues: too many steps, disabling removes minimumTrackTintColor, extra space
Created: 2024-09-08T06:51:34Z
Hi together,
I came across multiple issues when using the silder on different platforms. While it works great on iOS and web, I am encountering following issues on android only:


too many steps
There is one extra tick/step added to the right/maximum end of the slider without any value change ?!


disabling removes minimumTrackTintColor
When disabling the slider the minimumTrackTintColor is removed/ignored ?!


extra space before and after the trackbar
There is extra space before and after the trackbar added. But I managed to apply the following workaround:
style={{marginHorizontal: (Platform.OS != 'android') ? 0 : -15}}


All issues can be reproduced/seen in:
https://snack.expo.dev/@chr1k0/slider-example
Any possibility to fix problem 1. and 2. or is there any known workaround?
Thanks in advance!

Closing comment (2024-09-09T12:05:43Z): Hello @Chriko2502, thanks for reaching out!
Let me address those concerns one by one:

Too many steps
Yes, this looks like a bug in how the values for the steps are calculated and compared. Thank you for noticing that!
Disabling removes the minimumTrackTintColor
This, unfortunately, is a default behavior of Slider and is not planned to be changed.
This Slider package exposes the Slider and SeekBar of iOS and Android native implementation with all of their behaviors and system-specifics, including the design of disabled Slider.
Extra space before and after the trackbar
Yes, this is a known issue, tracked in #98


Workaround for the 1.
You asked for a solution or workaround for these, so for the 1. problem, before a fix is implemented, you can simply use values of integer, just like so:
      <Slider
        //style={{marginHorizontal: (Platform.OS != 'android') ? 0 : -15}} 
        disabled={false} //true
        minimumValue={80}
        maximumValue={120}
        step={5}
        value={100}
        onValueChange={(value) => {
          setFontSize(value/100)
        }}
        tapToSeek={true}
        thumbTintColor={'grey'}
        minimumTrackTintColor={'blue'}
        maximumTrackTintColor={'grey'}
      />
☝️ I checked this on the snack you sent, and using integers works as expected. The rest of the code is as you implemented.
Repository: callstack/react-native-slider

Issue #40: Add thumbStyle & trackStyle
Created: 2019-04-18T00:18:30Z
Describe the Feature
Add support for thumbStyle to allow customizing the thumb shape, colour and size. Relying on an image per style can be quite limiting for simple changes. If implemented, this could make thumbTintColor obsolete.

Duplicate issue #583: trackStyle
Created: 2024-03-13T09:26:55Z
Describe the Feature
Add Custom styles for the track
ex. borderRadius

Closing comment (2024-03-26T19:20:30Z): Let me close this as duplicate of #40
Repository: callstack/react-native-slider

Issue #25: Multi-thumb option
Created: 2019-03-13T19:29:08Z
Describe the Feature
Right now we only have one "grip" option. It would be nice to have multiple grips. Two would be a good start.
Possible Implementations
For Android probably this one - https://github.com/apptik/MultiSlider
For iOS probably this one - https://github.com/yonat/MultiSlider
Related Issues

Duplicate issue #228: Multiple Knobs Slider
Created: 2020-09-21T22:45:43Z
Describe the Feature
The ability for a Slider to Feature Multiple Knobs in order to handle Bounded Ranges (Ex: Values in-between X and Y).
Possible Implementations
I've attached a screenshot of what I've built in isolation, hoping someone can duplicate this but into the library?

This is currently working but I would love to delete this and just use this library instead for joint maintainability reasons :)

Closing comment (2021-06-28T10:34:37Z): I can see that this is a duplicate of #25
@ralph-dev Thank you for your report!
I'm going to close this one and mark it as a duplicate, so all the work on this enhancement can be tracked from the original issue.
FYI @michalchudziak
Repository: callstack/react-native-slider

Issue #437: topChange null error while updating a property
Created: 2022-10-07T09:27:36Z
Environment
npmPackages:
react: 18.2.0 => 18.2.0
react-native: 0.70.2 => 0.70.2
Description
After upgrade react-native-slider 4.31 to 4.3.2, display Slider crash on android.
No problem on iOS.

Duplicate issue #446: Error while updating property 'minimumValue' of a view managed by: RNCSlider
Created: 2022-10-20T08:57:15Z
Environment

"react": "18.1.0",
"react-native": "0.70.3",
"@react-native-community/slider": "^4.3.2",

Description


I have another app use
    "react": "17.0.2",
    "react-native": "0.66.4",
    "@react-native-community/slider": "^4.2.0",

it runs normaly, doesn't have this bug.
I try to downgrade some version  but it still has this bug.
Reproducible Demo
    <Slider
      style={{width: 200, height: 40}}
      minimumValue={0}
      maximumValue={1}
      minimumTrackTintColor="#FFFFFF"
      maximumTrackTintColor="#000000"
    />

Closing comment (2022-10-20T15:16:54Z): Hello @zhenguet, this issue is a duplicate of #437.
Please track the progress in the original issue.
Repository: capistrano/capistrano

Issue #1053: Sanitize application name for git-ssh.sh
Created: 2014-05-14T12:03:28Z
In deploy.rb:
set :application, 'App Name' 
Result:
ain$ cap test deploy
 INFO [d4031943] Running /usr/bin/env mkdir -p /tmp/App Name/ on my-domain.de
DEBUG [d4031943] Command: /usr/bin/env mkdir -p /tmp/App Name/
 INFO [d4031943] Finished in 0.500 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/App Name/git-ssh.sh 0.0%
cap aborted!
scp: /tmp/App Name/git-ssh.sh: No such file or directory
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-scp-1.2.1/lib/net/scp.rb:398:in `await_response_state'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-scp-1.2.1/lib/net/scp.rb:369:in `block (3 levels) in start_command'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:311:in `call'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:311:in `process'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:222:in `block in preprocess'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:222:in `each'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:222:in `preprocess'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:205:in `process'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `block in loop'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `loop'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `loop'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:269:in `wait'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/net-scp-1.2.1/lib/net/scp.rb:284:in `upload!'
/Users/ain/.rvm/gems/ruby-2.1.2@global/gems/capistrano-3.2.1/lib/capistrano/tasks/git.rake:18:in `block (3 levels) in <top (required)>'
Tasks: TOP => git:check => git:wrapper
(See full trace by running task with --trace)
The deploy has failed with an error: #<RuntimeError: scp: /tmp/App Name/git-ssh.sh: No such file or directory
>

Duplicate issue #1183: Feature: Validation on `ask`
Created: 2014-11-10T17:16:31Z
It would be convenient to be able to specify validation for ask(). For example a proc or a regex.
My use case it that I have an interactive deploy for git tags, following semver. The version specified should always be patch, say v4.5.1, and gets symlinked to major, v4.5 using a custom git_strategy.
So what I want is to validate the input of ask to match /^v\d\.\d\.\d$/ and otherwise fail/ask again.

Closing comment (2014-11-17T16:32:20Z): Related to #1053 where we want to screen for invalid values for :application
Repository: capistrano/capistrano

Issue #612: Issue with cached repo when changing remote
Created: 2013-08-14T05:58:30Z

Duplicate issue #972: Problem when the repository is changed
Created: 2014-03-18T17:01:47Z
When I deploy capistrano creates an folder "repo". In this folder has capistrano the clone of the respository.
When in die deployment is the respository changed. Capistrano do not register this and creates releases folders from the old copy of "repo" in which is the old respository.
(We habe change from a local respository to github).
I have to delete the repo folder.

Closing comment (2014-11-18T14:43:31Z): duplicate of #612 - please close this.
/cc @leehambley
Repository: capistrano/capistrano

Issue #1400: Host comparison should also check for ports.
Created: 2015-03-19T19:20:46Z
Hi all!
Currently Capistrano does this:
class Capistrano::Configuration::Server
  def matches?(other)
    hostname == other.hostname
  end
end
which only check against the hostname.
Should we include the port as well? Otherwise it's impossible to differentiate the server basing the full address.
class Capistrano::Configuration::Server
  def matches?(other)
    hostname == other.hostname && port == other.port
  end
end

Duplicate issue #1407: multiple servers with 3.4.0
Created: 2015-03-25T21:41:31Z
I have an app that was deploying to multiple servers fine on 3.3.5. The servers shared an IP but had separate ports, so I'd connect to them like this:
server '123.4.5.67',
  user: fetch(:deploy_user),
  roles: %w(web app db),
  port: 123,
  ssh_options: {
    forward_agent: true
  }

server '123.4.5.67',
  user: fetch(:deploy_user),
  roles: %w(web app),
  port: 124,
  ssh_options: {
    forward_agent: true
  }

server '123.4.5.67',
  user: fetch(:deploy_user),
  roles: %w(web app),
  port: 125,
  ssh_options: {
    forward_agent: true
  }
After upgrading to 3.4.0 capistrano is only connecting to the last defined server. Do I need to update my configuration or is this a new bug?
thanks

Closing comment (2016-01-20T02:37:05Z): Closing as duplicate of #1400
Repository: capistrano/capistrano

Issue #1690: I want Translate capistrano website into chinese, what should i do?
Created: 2016-05-27T06:54:54Z
http://capistranorb.com/
😄

Duplicate issue #1759: [Continue Discussion] About Translation to Chinese
Created: 2016-08-29T08:48:01Z
From @1c7 on May 28, 2016 4:8
#1690
here is continue discussion about topic in above link
I am busy on deploy a Rails app.
So when i got time i would come back and see what can we do to translate the website.
I don't know much about jekyll and github page.
maybe I can just fork & pull request or something to translate. I don't know.
anyway, when i got time i would come back.
:D
Copied from original issue: capistrano/documentation#191

Closing comment (2016-08-31T00:06:04Z): Closed as duplicate of #1690