<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Armagandalkran on Medium]]></title>
        <description><![CDATA[Stories by Armagandalkran on Medium]]></description>
        <link>https://medium.com/@armagandalkran20?source=rss-ddcfcc2770bd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*RZnMRxpj7JVwscGMa1cHjg.jpeg</url>
            <title>Stories by Armagandalkran on Medium</title>
            <link>https://medium.com/@armagandalkran20?source=rss-ddcfcc2770bd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 05:45:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@armagandalkran20/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Dev Diaries: Solving the Dynamic Ellipsis Challenge with Flexbox]]></title>
            <link>https://medium.com/@armagandalkran20/dev-diaries-solving-the-dynamic-ellipsis-challenge-with-flexbox-18fba34cc00c?source=rss-ddcfcc2770bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/18fba34cc00c</guid>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[flexbox]]></category>
            <category><![CDATA[scss]]></category>
            <dc:creator><![CDATA[Armagandalkran]]></dc:creator>
            <pubDate>Fri, 27 Dec 2024 11:20:15 GMT</pubDate>
            <atom:updated>2024-12-27T11:21:22.902Z</atom:updated>
            <content:encoded><![CDATA[<p>In the world of web development, most of us are familiar with using max-width to achieve an ellipsis for overflowing text. It’s a neat, straightforward solution. But real-world challenges often demand more dynamic and nuanced implementations. Let’s explore one such challenge and how Flexbox came to the rescue.</p><h3>The Challenge</h3><p>Imagine your product manager tasked you with designing a layout where:</p><p><strong>Elements Have Dynamic Content:</strong></p><ul><li>Some elements contain text of varying lengths.</li><li>Others include non-text elements (e.g., icons or buttons).</li></ul><p><strong>Preserve Minimum Size:</strong></p><ul><li>The smallest child element (e.g., an icon) should always maintain its minimum width.</li></ul><p><strong>Flexible Adjustment:</strong></p><ul><li>Longer content should flexibly adjust within the available space.</li></ul><p><strong>Equal Breakpoints When Overcrowded</strong></p><ul><li>If all elements exceed the available width, they should break and distribute space equally.</li></ul><p>This kind of problem often arises in responsive designs or interactive components where dynamic layouts are a must.</p><p>Before jumping to the solution, I highly encourage you to take a moment to experiment with this challenge yourself. Think about how you would approach the problem and what the ideal output might look like. Check out this example output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fe21th2zc6Xe6_qwd086GQ.png" /><figcaption>Output</figcaption></figure><h3>The Solution</h3><p>You can find my solution and a detailed explanation at the links below.</p><p><strong>Live</strong> <strong>Demo</strong>:</p><p><a href="https://flex-box-challenge-demo.vercel.app/">Flexbox Truncate Challenge</a></p><p><strong>Github:<br></strong><a href="https://github.com/armagandalkiran/flex-box-challenge-demo">https://github.com/armagandalkiran/flex-box-challenge-demo</a></p><h3>Final Thoughts</h3><p>This approach demonstrates how Flexbox can elegantly handle a seemingly complex layout challenge. By combining fixed and flexible elements, you achieve a balance between preserving minimum sizes and maintaining a responsive design.</p><p>I hope this solution sparks ideas for your own projects. If you tried solving this challenge yourself, how did it go? Feel free to share your thoughts or alternative approaches in the comments. Let’s keep learning and improving together!</p><h3>Additional Resources</h3><ul><li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox">MDN: Flexbox Basics</a></li><li>CSS Tricks: <a href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/">A Complete Guide to Flexbox</a></li></ul><p>See you on <a href="https://www.linkedin.com/in/armagandalkiran"><strong>LinkedIn</strong></a>, <a href="https://x.com/armagandalkiran"><strong>X</strong></a> and <a href="https://github.com/armagandalkiran"><strong>GitHub</strong></a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18fba34cc00c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My experiences in creating and after creating an Open Source project]]></title>
            <link>https://medium.com/@armagandalkran20/my-experiences-in-creating-and-after-creating-an-open-source-project-271be7d74587?source=rss-ddcfcc2770bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/271be7d74587</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[project-management]]></category>
            <dc:creator><![CDATA[Armagandalkran]]></dc:creator>
            <pubDate>Thu, 27 Jun 2024 08:03:02 GMT</pubDate>
            <atom:updated>2024-06-27T08:05:28.494Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Hello, I’m Armağan, a software engineer who is constantly seeking self-improvement and enjoys creating products and projects while doing so.<br>In this article, I’ll try to share my experiences by discussing the challenges I faced while creating open-source projects, highlighting both successful and unsuccessful projects, and touching upon key topics to consider when starting a new open-source project.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C8wJKTfUXjy5BtiG9_X8XA.png" /></figure><h4><strong>The Beginning of the Journey</strong></h4><p>The idea of contributing to an open-source project has always fascinated me, especially the motivation to write code for projects that other developers or customers would use. However, there was another topic that intrigued me and excited me a lot: how to develop an open-source project from scratch. I wondered how I could motivate other developers to contribute, how to deploy and introduce this project to users, and what it would be like to manage the entire process.</p><p>I’ve always had a mindset of learning new things by trying and learning from my mistakes, and I applied the same technique in this regard. I had an idea for a project that our team needed and could automate, so I thought, why not give it a try while I had the opportunity? Thus, I began working on first open-source project.</p><p>When starting this first project, it was the early days of my career, and for me, collaborating with other developers to create something was much more valuable than working on a project alone. While the goal of an open-source project is to benefit users, working on it with a team is equally important to me.</p><h4>Why Things Didn’t Go as Planned?</h4><p>I’m going to summarize what needs to be considered before starting an open-source project based on my own experiences, towards the end of my writing. But for now, I want to talk about my first experience.</p><p>Our team had a workflow where we used Google Sheets to score technical tasks collectively. When the idea came to mind to formalize this into a web project, before even starting, I sketched out a draft and shared my ideas with my team members, asking them if they wanted to join.</p><p>I received very positive feedback and formed a group with those who wanted to join. I planned to organize meetings once a week, where everyone could present their ideas for improving the project and share tasks.</p><p>A few weeks later, I noticed that we were not making progress in the project due to my lack of experience in managing a large team. The reason for this was the constant changes in the project’s MVP (Minimum Viable Product) during meetings and our inability to decide on the technologies to be used. Also, I realized that since I didn’t have a concrete design for the idea I had in mind, I couldn’t effectively convey it, which made it difficult to motivate the developers who came to support.</p><p>Over time, we made progress in the project, but we couldn’t achieve teamwork in building, designing, and developing the project’s infrastructure. The scope of the project started to change gradually in each weekly meeting, deviating from its original purpose.</p><p>When the MVP was completed, we ended up with a project that harbored many bugs and was quite challenging to maintain. After it started being used, maintenance ceased after 1–2 months, and eventually, its usage stopped altogether.</p><h4>Did I learn from my mistakes?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Ke4wFUwix64HncaLmdUGg.png" /></figure><p>The failure of the project unexpectedly increased my motivation, because now I knew what I needed to do differently. Before starting teamwork, I realized I needed to produce something tangible, at least to design and build the project infrastructure along with the phase 1 (MVP) process.</p><p>Therefore, I started planning and sketching the initial versions of the project as I wanted it to be. After completing this step, I set up the project repository and made the initial developments, thus creating a ready-to-use MVP project.</p><p>Before an open-source project is released, many things need to be planned. Preparing tasks in a way that leaves very few questions for potential contributors will increase their motivation. Once the project is deployed and in use, forming a team or announcing to those who wish to contribute is important to maintain the integrity of the project.</p><p>In my second attempt, I paid attention to this matter and handled the steps up to the deployment of the project myself. Afterwards, along with my team members and other contributing developers, we brought the project to version 2, the final version, and the project is still in use.</p><h4>Key topics to consider</h4><p>In my opinion, the steps to be followed when creating an open source project should be as follows:</p><p><strong>1.Finding a topic</strong></p><p>Make sure that the topic you decide to work on for your project will motivate both you and the developers who will contribute, and that it will be useful. If your main goal for this project is not just to tinker with new technologies, you should pay attention to UI/UX. No one will want to contribute to a project that you wouldn’t use or wouldn’t want to contribute.</p><p><strong>2.Design the project</strong></p><p>As a developer, my worst habit in the past was starting to code immediately without detailed thinking. While this approach was beneficial at times, it often led me into a dead end. Drawing up a draft that broadly outlines what you want to do, and then designing it, might seem to slow down the project initially, but it will save a lot of time in the future. If coding starts without knowing the design, each developer may add their own interpretation, preventing the project from having a standard and potentially hindering its completion.</p><p><strong>3.Completing the project MVP</strong></p><p>If the project is not comprehensive, finishing and deploying an MVP version is important both for receiving feedback from users and for helping developers who might want to contribute to better understand the project. At this stage, the project should be shared with your close circle to gather feedback and attract users.</p><p>If completing the initial version of the project will take a long time due to its scope, finishing and deploying the project infrastructure will facilitate the next steps. During this process, addressing topics such as CI/CD, linters, and the frameworks to be used will make things easier.</p><p><strong>4.Plan the new phase of the project</strong></p><p>I believe that working with a small team or even alone until reaching the MVP stage of an open-source project is more efficient. Once the MVP stage is achieved, if there is an expectation for new contributors for the new phases, tasks should be created very detailedly using any project management tool. The task content should address any questions the developer might have as much as possible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*BLjtwRwH1sSO-J1XOYBdSw.png" /></figure><p><strong>5.Make announcement</strong></p><p>If step 4 is completed, it means we are ready to announce the project. We should make an announcement that clearly specifies the project’s content and generates excitement among both users and developers, inviting contributors to join. At this stage, you can also seek help from your colleagues and network. If everything has gone well up to this point, you will see contributors being assigned to tasks and contacting you with questions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*fHZ-Hpt-kgqx4_fAhFniew.png" /></figure><p><strong>6.Code review and feedback</strong></p><p>Engaging in feedback with the community and performing code reviews greatly contributes to career development and learning new things. Staying as active as possible during code reviews and gathering feedback helps discover new features or uncover bugs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*dV1n9xvTC1tlflFGahmBzQ.png" /></figure><h4>Conclusion</h4><p>Creating an open-source project will be as enjoyable and adventurous as contributing to an existing one, offering valuable experiences. For me, it has been a process where I learned from my mistakes and gained important insights, especially in project management. If you have an idea, there’s no reason to wait. Give it a try and make mistakes along the way :)</p><p>See you on <a href="https://www.linkedin.com/in/armagandalkiran"><strong>LinkedIn</strong></a>, <a href="https://x.com/armagandalkiran"><strong>X</strong></a> and <a href="https://github.com/armagandalkiran"><strong>GitHub</strong></a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=271be7d74587" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scroll Section to Section Animation with JavaScript]]></title>
            <link>https://medium.com/@armagandalkran20/scroll-section-to-section-animation-with-javascript-868094ac10f2?source=rss-ddcfcc2770bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/868094ac10f2</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-design]]></category>
            <dc:creator><![CDATA[Armagandalkran]]></dc:creator>
            <pubDate>Sat, 23 Apr 2022 11:35:01 GMT</pubDate>
            <atom:updated>2022-04-23T11:35:01.810Z</atom:updated>
            <content:encoded><![CDATA[<p>If you are interested in animations and making the sites similar to the ones you see on the internet, you have come across many sites where section jumps are made with the scrolling event.</p><p>I asked myself how can I solve this problem using simple HTML, CSS, JavaScript knowledge.</p><p>As far as I could find on the internet, I thought I should come up with my own solution, as the examples did not give the exact result I wanted. If there is a more effective solution, you can share it in the comments !</p><p>In the image below, the structure we want to create is visible. The section drawn with red borders constitutes the entire area that the user will see when he/she enters the site for the first time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*UzWt9heFk7C6_2Jz-RlfgQ.png" /><figcaption>The structure we want to build</figcaption></figure><p>The idea behind this structure is to make it overflow below the red bounded section.</p><p>To do this, we need to create a parent tag that covers the entire page, and child tags that take up an entire page, which will cause this parent tag to overflow.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2665d6983b7d0831afb46305d37d97ea/href">https://medium.com/media/2665d6983b7d0831afb46305d37d97ea/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/349e2197dd745c7419c96cedff6ea6e0/href">https://medium.com/media/349e2197dd745c7419c96cedff6ea6e0/href</a></iframe><p>As you can see in the code blocks above, the div tag with the wrapper id causes the main tag to overflow thanks to its child tags.</p><p>After providing the necessary appearance of the site, the JavaScript codes that we execute the events remain.</p><p>So what was the idea? It was to move the overflow sections up or down by moving the red area that the user saw.</p><p>In order to perform these operations, we need to understand the JavaScript event loop runtime model very well. Because every time the user performs an event up or down, we don’t want the other event to run before the event is completed. Since JavaScript is a singlethread language, we can provide a fake concurrency by using setTimeout function in the callback queue.</p><p>I tried to set up a flag structure in order to manage the wheel events in a sequential manner. In this structure, the flag value must be 1 for an wheel event to be made. On every wheel event I change the flag value to zero immediately because we don’t want any event to be triggered before any other event ends.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*ycLsCWWNRRwrNPnLAyDQuA.png" /></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/abdf132117494252433f20a43a817726/href">https://medium.com/media/abdf132117494252433f20a43a817726/href</a></iframe><p>We were able to determine the direction of rotation of the wheel according to whether deltaY is positive or negative, you can see the values ​​by printing deltaY on the console.</p><p>As a result, with a 600 millisecond wait, the user can switch between pages with scroll event. It may not be the most optimal solution, but I wanted to share it because it is my own solution and maybe I can improve my solution with your review. You can send your questions and comments on my linkedin account or in the comments section. Thank you for reading !</p><p>Codepen: <a href="https://codepen.io/armagan20/pen/oNpmgJm">https://codepen.io/armagan20/pen/oNpmgJm</a></p><p>Linkedin: <a href="https://www.linkedin.com/in/armagandalkiran/">https://www.linkedin.com/in/armagandalkiran/</a></p><p>Github: <a href="https://github.com/armagandalkiran">https://github.com/armagandalkiran</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=868094ac10f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>